Skip to content

Commit 754df2d

Browse files
crojewsk-intelgregkh
authored andcommitted
ASoC: Intel: Skylake: Enable codec wakeup during chip init
commit e603f11 upstream. Follow the recommendation set by hda_intel.c and enable HDMI/DP codec wakeup during bus initialization procedure. Disable wakeup once init completes. Signed-off-by: Cezary Rojewski <cezary.rojewski@intel.com> Reviewed-by: Pierre-Louis Bossart <pierre-louis.bossart@linux.intel.com> Link: https://lore.kernel.org/r/20200305145314.32579-4-cezary.rojewski@intel.com Signed-off-by: Mark Brown <broonie@kernel.org> Cc: <stable@vger.kernel.org> # 5.4.x Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
1 parent 6de661f commit 754df2d

1 file changed

Lines changed: 2 additions & 0 deletions

File tree

  • sound/soc/intel/skylake

sound/soc/intel/skylake/skl.c

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -129,6 +129,7 @@ static int skl_init_chip(struct hdac_bus *bus, bool full_reset)
129129
struct hdac_ext_link *hlink;
130130
int ret;
131131

132+
snd_hdac_set_codec_wakeup(bus, true);
132133
skl_enable_miscbdcge(bus->dev, false);
133134
ret = snd_hdac_bus_init_chip(bus, full_reset);
134135

@@ -137,6 +138,7 @@ static int skl_init_chip(struct hdac_bus *bus, bool full_reset)
137138
writel(0, hlink->ml_addr + AZX_REG_ML_LOSIDV);
138139

139140
skl_enable_miscbdcge(bus->dev, true);
141+
snd_hdac_set_codec_wakeup(bus, false);
140142

141143
return ret;
142144
}

0 commit comments

Comments
 (0)