[alsa-devel] PROBLEM: Asoc driver in 18.104.22.168 for AT91SAM9260 / TLV320AIC3X is broken
jiri.prchal at aksignal.cz
Wed Mar 23 14:53:22 CET 2011
I fixed the problem:
in file "linux-2.6.38/sound/soc/atmel/snd-soc-afeb9260.c"
in function "afeb9260_soc_init"
is missing "platform_device_alloc("soc-audio", -1);".
I also add SPI functionality and external clock on BCLK to codec tlv320aic3x.
I'm sending diff, is this the right way to add it as patch to kernel releases?
I also discover the problem with SD card: not all cards can run at 375kHz at init state, I change minimal freq to
200kHz. It's in diff too.
Dne 11.3.2011 09:58, Prchal Jiří napsal(a):
> at first I would like to apologize of sending this report to too many mails, but I can't find the right person / list.
> [2.] Full description of the problem/report:
> I try for almost 2 month to make kernel with alsa for my hardware. I first try version 2.6.37, now trying 22.214.171.124. My
> hw i similar to board afeb-9260, just with difference my codec is TLV320AIC3106 connected as slave with clock on BCLK.
> So I change file snd-soc-afeb9260.c, diff is attached, and Kconfig and Makefile too.
> In version 126.96.36.199 it works good, but MMC/SD card doesn't work. (Something is broken it that driver just in this
> version). I need to work sound and SD card.
> I thing the problem is somewhere between "tlv320aic3x-codec 0-001a: probe" and "i2c-core: driver [tlv320aic3x-codec]
> registered". In version 188.8.131.52 there is I2C communication, in 2.6.37 and higher nothing on I2C.
> I also try to put newer alsa 1.0.24 to kernel 184.108.40.206 without any improvement.
> Trying to put older alsa (but same version?) from kernel 220.127.116.11 to 18.104.22.168 produce soundcard, but when try to play
> kernel oops, "cannot dereference null pointer" and freezes.
-------------- next part --------------
A non-text attachment was scrubbed...
Size: 30683 bytes
Desc: not available
Url : http://mailman.alsa-project.org/pipermail/alsa-devel/attachments/20110323/72d2edf9/attachment-0001.diff
More information about the Alsa-devel