[PATCH 3/4] ALSA: hda: Update and expose codec register procedures

Cezary Rojewski cezary.rojewski at intel.com
Wed Feb 9 11:38:23 CET 2022


On 2022-02-09 11:21 AM, Cezary Rojewski wrote:
> snd_soc_bind_card() invokes snd_card_register() which in consequence 
> leads to snd_device_register_all() and that to automatic ->dev_register 
> call. That call involves PM operations, and at that moment, codec is not 
> ready for it.
By that I mean: bus driver (here, avs-driver) has some saying on the PM 
matter too e.g.: sets their (codecs) status to suspended via 
pm_runtime_set_suspended() so the bus runtime suspend is not blocked by 
codecs that could possibly never complete their probing.


Regards,
Czarek


More information about the Alsa-devel mailing list