]> git.baikalelectronics.ru Git - kernel.git/commit
ASoC: SOF: Intel: hda: drop display power on/off in D0i3 flows
authorKai Vehmanen <kai.vehmanen@linux.intel.com>
Mon, 22 Mar 2021 14:38:30 +0000 (16:38 +0200)
committerMark Brown <broonie@kernel.org>
Tue, 23 Mar 2021 17:19:01 +0000 (17:19 +0000)
commit7ee4044543aa5c0203f372b89126e22b3ba0fbbe
tree5841ba8dd90298ff386fc2b93c1197a3159be44d
parent53d2248e3a4c5e9e60df12f4d8e39c036dad4bd6
ASoC: SOF: Intel: hda: drop display power on/off in D0i3 flows

Controller needs to ensure display power is enabled only for
HDA controller reset. Drop the display power-up/down calls from
D0i3 entry/exit paths.

This was previously not possible as codec drivers could not resume the
links, and instead controller kept the reference to display power. The
state of display power had be maintained in the D0i3 entry/exit code.
With commit cacdedad4710 ("ASoC: SOF: Intel: hda: use hdac_ext
fine-grained link management"), this is no longer needed and the code
can be cleaned up.

Signed-off-by: Kai Vehmanen <kai.vehmanen@linux.intel.com>
Reviewed-by: Ranjani Sridharan <ranjani.sridharan@linux.intel.com>
Reviewed-by: Keyon Jie <yang.jie@intel.com>
Link: https://lore.kernel.org/r/20210322143830.3880293-1-kai.vehmanen@linux.intel.com
Signed-off-by: Mark Brown <broonie@kernel.org>
sound/soc/sof/intel/hda-dsp.c