Question about hdac_ext_link ref_count management
Ranjani Sridharan
ranjani.sridharan at linux.intel.com
Fri Jan 22 00:23:53 CET 2021
Hi Takashi,
While exploring some power optimizations on Intel platforms, I noticed
that the hdac_ext_link ref_count is incremented during codec probe
in hdac_hda_codec_probe() and the ref_count is held until the codec
device is removed.
I was wondering if it would be possible to call the get/put for the
hdac_ext_link in the codec runtime suspend/resume callbacks so that the
link is powered up only when the link is in use. Are there any
downsides to doing this?
Thanks,
Ranjani
More information about the Alsa-devel
mailing list