[alsa-devel] [PATCH] ASoC: hdac_hdmi: Ensuring proper setting of output widget power state

Kumar, Abhijeet abhijeet.kumar at intel.com
Fri Jan 12 11:37:28 CET 2018


> It's better, but doesn't guarantee that the node reached the given power state.  codec_read assures that the verb is sent and the codec gives the response.  But it means only the target state gets updated, and doesn't mean that the actual state reached.

Thanks Takashi for replying. I guess, I  should make use of return value from codec_read and retry if power state is not set properly! I'll make those changes and update again. And just wondering, how does hdmi_codec_prepare() and hdmi_codec_complete() gurantee while powering up and down the afg ?

Warm Regards,
Abhijeet



More information about the Alsa-devel mailing list