Re: Cherry trail and Nau 88l24 codec

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



On 12/5/16 12:45 AM, Joseph Wang wrote:

[    2.681633] snd_intel_sst: Requesting FW fw_sst_22a8.bin now...


Hi,

This is the firmware that I am using.  Right now the problem is that I'm
getting timeouts.  I've confirmed that the device runs fine under the
Windows WDM Audio drivers and the Windows NAUL88 codec.  So what appears to
be happening is that machine driver is doing something incorrectly.

If you can look at

https://github.com/joequant/nau8824/blob/master/linux-4.8/cht_bsw_nau8824.c

The only thing that comes to my mind and that might tie firmware with the machine driver is the use of this:

fmt = SND_SOC_DAIFMT_LEFT_J | SND_SOC_DAIFMT_NB_NF
				| SND_SOC_DAIFMT_CBS_CFS;

I am not aware of any other drivers using LEFT_J, why can't you use I2S for 2ch links?


And check to see how the initialization is different than the Windows
driver, this would be very useful.  I don't know how the device is wired,
but I do know that it appears to work with the Cherry Trail windows
drivers.  That being the case, I think the issue is my misinitialization
rather than device quirk.

Also to answer your other question.  I am no longer getting kernel errors
in the codec.  I believe that at one point I was loading old versions of
the codec, but once I did a clean build with the sources that you've
provided me, I get no issues with the codec, and I've removed the
workaround code.  The problems that I'm having with the firmware appear to
arise from the machine drivers.

One other thing, I was wondering if you have a Cherry Trail dev environment
that you can test to see if you can load in my machine driver and replicate
the firmware time outs.
_______________________________________________
Alsa-devel mailing list
Alsa-devel@xxxxxxxxxxxxxxxx
http://mailman.alsa-project.org/mailman/listinfo/alsa-devel


_______________________________________________
Alsa-devel mailing list
Alsa-devel@xxxxxxxxxxxxxxxx
http://mailman.alsa-project.org/mailman/listinfo/alsa-devel



[Index of Archives]     [ALSA User]     [Linux Audio Users]     [Kernel Archive]     [Asterisk PBX]     [Photo Sharing]     [Linux Sound]     [Video 4 Linux]     [Gimp]     [Yosemite News]

  Powered by Linux