ASoC: hdac_hdmi: report codec link up/down status to bus
authorKai Vehmanen <kai.vehmanen@linux.intel.com>
Tue, 2 Jul 2019 13:24:26 +0000 (16:24 +0300)
committerMark Brown <broonie@kernel.org>
Sat, 6 Jul 2019 11:23:00 +0000 (12:23 +0100)
commite62bccf8a5ec47768ae2600dc880b148cce19f1b
treea6ef83e82b2447b1966c4963b2c6f15352ade1ca
parentb90bab3b1b1b6c56dd6f9d5c960932239f36f6d3
ASoC: hdac_hdmi: report codec link up/down status to bus

Report codec power status to the HDA codec bus from runtime pm
suspend and resume callbacks. This is required to implement
runtime idle logic that relies on 'codec_powered' field of hdac_bus
to be maintained for all codecs.

Signed-off-by: Kai Vehmanen <kai.vehmanen@linux.intel.com>
Reviewed-by: Pierre-Louis Bossart <pierre-louis.bossart@linux.intel.com>
Reviewed-by: Takashi Iwai <tiwai@suse.de>
Link: https://lore.kernel.org/r/20190702132428.13129-2-kai.vehmanen@linux.intel.com
Signed-off-by: Mark Brown <broonie@kernel.org>
sound/soc/codecs/hdac_hdmi.c