All of lore.kernel.org
 help / color / mirror / Atom feed
* Question about hdac_ext_link ref_count management
@ 2021-01-21 23:23 Ranjani Sridharan
  2021-01-22 14:12 ` Takashi Iwai
  0 siblings, 1 reply; 6+ messages in thread
From: Ranjani Sridharan @ 2021-01-21 23:23 UTC (permalink / raw)
  To: alsa-devel, tiwai; +Cc: kai.vehmanen

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


^ permalink raw reply	[flat|nested] 6+ messages in thread

end of thread, other threads:[~2021-01-22 22:05 UTC | newest]

Thread overview: 6+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2021-01-21 23:23 Question about hdac_ext_link ref_count management Ranjani Sridharan
2021-01-22 14:12 ` Takashi Iwai
2021-01-22 16:40   ` Ranjani Sridharan
2021-01-22 16:50     ` Takashi Iwai
2021-01-22 17:24       ` Ranjani Sridharan
2021-01-22 22:04       ` Ranjani Sridharan

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.