wm8962 0-001a: ASoC: error at soc_component_read_no_lock on wm8962.0-001a: -16

Wang, Xiaolei Xiaolei.Wang at windriver.com
Wed Sep 28 04:44:30 CEST 2022


Hi Jaroslav

When I tested the audio, I found that some registers in the codec of wm8962.c will fail to read in the mainline kernel. I found that wm8962_i2c_probe will enter runtime suspend after startup, but in the following program:

snd_soc_bind_card
     snd_soc_dapm_new_widgets
         soc_dapm_read
             snd_soc_component_read(dapm->component, reg);

There is no runtime resume, which cannot perform normal reading and writing for volatile reg, because it has been switched to regcache only in the process of runtime suspend. I can't find the right place to resume, can you give me any advice?

thanks
xiaolei


More information about the Alsa-devel mailing list