summaryrefslogtreecommitdiffstats
path: root/sound/soc/codecs/hdac_hdmi.c
diff options
context:
space:
mode:
authorMark Brown <broonie@kernel.org>2018-02-15 17:14:16 +0000
committerMark Brown <broonie@kernel.org>2018-02-15 17:14:16 +0000
commit0b9751c7179b8ec7a33addc3a8b2b1639d4678cb (patch)
treea54813697b4fd85fb73992d4b02e15640de4ee10 /sound/soc/codecs/hdac_hdmi.c
parent753597fbb7031ff147d4f2862426699e4ad8efca (diff)
downloadop-kernel-dev-0b9751c7179b8ec7a33addc3a8b2b1639d4678cb.zip
op-kernel-dev-0b9751c7179b8ec7a33addc3a8b2b1639d4678cb.tar.gz
ASoC: Intel: Fix build
One of the recently introduced commits hadn't been build tested, fix that. Reported-by: kbuild test robot <fengguang.wu@intel.com> Signed-off-by: Mark Brown <broonie@kernel.org>
Diffstat (limited to 'sound/soc/codecs/hdac_hdmi.c')
-rw-r--r--sound/soc/codecs/hdac_hdmi.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/sound/soc/codecs/hdac_hdmi.c b/sound/soc/codecs/hdac_hdmi.c
index 60bea9d..84f7a7a 100644
--- a/sound/soc/codecs/hdac_hdmi.c
+++ b/sound/soc/codecs/hdac_hdmi.c
@@ -722,12 +722,12 @@ static void hdac_hdmi_set_power_state(struct hdac_ext_device *edev,
unsigned int state;
if (get_wcaps(&edev->hdev, nid) & AC_WCAP_POWER) {
- if (!snd_hdac_check_power_state(&edev->hdac, nid, pwr_state)) {
+ if (!snd_hdac_check_power_state(&edev->hdev, nid, pwr_state)) {
for (count = 0; count < 10; count++) {
- snd_hdac_codec_read(&edev->hdac, nid, 0,
+ snd_hdac_codec_read(&edev->hdev, nid, 0,
AC_VERB_SET_POWER_STATE,
pwr_state);
- state = snd_hdac_sync_power_state(&edev->hdac,
+ state = snd_hdac_sync_power_state(&edev->hdev,
nid, pwr_state);
if (!(state & AC_PWRST_ERROR))
break;
OpenPOWER on IntegriCloud