ASoC: SOF: Intel: do not disable i915 power during probe
authorKai Vehmanen <kai.vehmanen@linux.intel.com>
Mon, 20 Jan 2020 16:01:16 +0000 (18:01 +0200)
committerMark Brown <broonie@kernel.org>
Mon, 27 Jan 2020 17:51:43 +0000 (17:51 +0000)
commit0c75419a94a20b2bf791825a665d8b64cf7c560d
treee2acf3263b58b0aa6326a367c48356309003de55
parent23ee09032d44736c5e8c7becbe03170dbc6f2e8d
ASoC: SOF: Intel: do not disable i915 power during probe

Change HDA probe behaviour slightly so that i915 power is not
turned off if i915 audio codecs are found in the initial probe done
by SOF Intel driver, and power is kept on until HDA codec driver
probe runs.

This will reduce number of mode sets on platforms with low
minimum CDCLK (like GLK) and brings the SOF probe sequence closer
to legacy HDA driver in terms of i915 audio codec power management.

BugLink: https://github.com/thesofproject/linux/issues/1642
Signed-off-by: Kai Vehmanen <kai.vehmanen@linux.intel.com>
Link: https://lore.kernel.org/r/20200120160117.29130-3-kai.vehmanen@linux.intel.com
Pierre-Louis Bossart <pierre-louis.bossart@linux.intel.com>
Signed-off-by: Mark Brown <broonie@kernel.org>
sound/soc/sof/intel/hda.c