[PATCH] ARM: OMAP: omap1510/16xx fixes for the tsc2101 oss driver
1) mcbsp.h needs to define AUDIO_MCBSP_DATAREAD and AUDIO_MCBSP_DATAWRITE functions, etc... both for the omap1510 and omap16xx oterwise the sound/oss/omap-audio-dma-intfc.c fails to compile with omap1. 2) Added cpu_is_omap1510 check to places which earlier only checked cpu_is_omap16xx() so that the dma got initialized properly also with the omap1510 based iPAQ h6300. 3) DCSR_ERROR check looked suspicious compared to the version in 2.6.14 kernel. In addition that prevented the sound working after first played frame in the iPAQ h6300 as assumed always that error had happened. After applying attached fixes, cat my_song.wav > /dev/dsp worked ok for me.
Showing
Please register or sign in to comment