[alsa-devel] Cherry trail and Nau 88l24 codec

Pierre-Louis Bossart pierre-louis.bossart at linux.intel.com
Mon Dec 5 19:10:09 CET 2016


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 at alsa-project.org
> http://mailman.alsa-project.org/mailman/listinfo/alsa-devel
>



More information about the Alsa-devel mailing list