]> www.pilppa.org Git - linux-2.6-omap-h63xx.git/commit
[PATCH] ARM: OMAP: omap1510/16xx fixes for the tsc2101 oss driver
authorlakmir <lamikr lamikr@cc.jyu.fi>
Thu, 19 Jan 2006 20:03:42 +0000 (12:03 -0800)
committerTony Lindgren <tony@atomide.com>
Thu, 19 Jan 2006 20:03:42 +0000 (12:03 -0800)
commit0ea830d88bfb8ab21ad989a7d5860ff145ecdfe0
tree7fe3031f9e4aa0cef8e54cf26b4f2d6d0de72ffc
parent6aea20adecb31a38d6a911edc14718915e079a93
[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.
include/asm-arm/arch-omap/mcbsp.h
sound/oss/omap-audio-dma-intfc.c