[alsa-devel] [PATCH 0/3] ASoC: hdac_hdmi: Fix codec power state in S3

Subhransu S. Prusty subhransu.s.prusty at intel.com
Fri Apr 1 10:06:24 CEST 2016


With this series, the codec power is turned OFF when entering
suspend if the playback is already in progress. And during resume
the power is restored. Codec driver registers the S3 callbacks
with prepare/complete to synchronize with Jack notification from
display driver. Codec driver takes care of putting the AFG node
to proper power state during S3 and controller driver takes care
of managing the codec power.

Also setting the power state for AFG node is optimized by
removing the timeout loop. The driver instead uses a codec_read,
which sets the power state and waits for response before the
codec power is turned OFF.

Subhransu S. Prusty (3):
  ASoC: hdac_hdmi: Fix to use dev_pm ops instead soc pm
  ASoC: hdac_hdmi: Fix codec power state in S3 during playback
  ASoC: Intel: Skylake: Fix to turn OFF codec power when entering S3

 sound/soc/codecs/hdac_hdmi.c  | 94 +++++++++++++++++++------------------------
 sound/soc/intel/skylake/skl.c | 15 ++++++-
 2 files changed, 55 insertions(+), 54 deletions(-)

-- 
1.9.1



More information about the Alsa-devel mailing list