]> git.baikalelectronics.ru Git - kernel.git/commit
ALSA: x86: Fix runtime PM for hdmi-lpe-audio
authorVille Syrjälä <ville.syrjala@linux.intel.com>
Wed, 24 Oct 2018 15:48:24 +0000 (18:48 +0300)
committerVille Syrjälä <ville.syrjala@linux.intel.com>
Fri, 2 Nov 2018 16:25:33 +0000 (18:25 +0200)
commitd6623d1c9667cd5afc0ae970e87c7ed9f39f9256
tree643f27ee807cc92f5806cc15a9784712f51cbd7c
parentb777af211f32bb58a505f98c676d5e9e4cb37c70
ALSA: x86: Fix runtime PM for hdmi-lpe-audio

Commit c81c58b92aec ("drm/i915/lpe: Mark LPE audio runtime pm as
"no callbacks"") broke runtime PM with lpe audio. We can no longer
runtime suspend the GPU since the sysfs  power/control for the
lpe-audio device no longer exists and the device is considered
always active. We can fix this by not marking the device as
active.

Cc: Chris Wilson <chris@chris-wilson.co.uk>
Cc: Takashi Iwai <tiwai@suse.de>
Cc: Pierre-Louis Bossart <pierre-louis.bossart@linux.intel.com>
Fixes: c81c58b92aec ("drm/i915/lpe: Mark LPE audio runtime pm as "no callbacks"")
Signed-off-by: Ville Syrjälä <ville.syrjala@linux.intel.com>
Link: https://patchwork.freedesktop.org/patch/msgid/20181024154825.18185-1-ville.syrjala@linux.intel.com
Reviewed-by: Chris Wilson <chris@chris-wilson.co.uk>
Acked-by: Takashi Iwai <tiwai@suse.de>
sound/x86/intel_hdmi_audio.c