Skip to contentSkip to conversation

ASoC: Intel: Fix build

PATCH In review Mark Brown 1 participant 2 messages Feb 15, 2018

Subsystems (2)
lore
Share & tools
lore

Mark Brown

author maintainer
#0 lore raw

PATCH 1/1 ASoC: Intel: Fix build

One of the recently introduced commits hadn't been build tested, fix that.

---
 sound/soc/codecs/hdac_hdmi.c | 6 +++---
 1 file changed, 3 insertions(+), 3 deletions(-)
sound/soc/codecs/hdac_hdmi.c +3 -3
index 60bea9d69fc0..84f7a7a36e4b 100644
@@ -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;
Signature · 1 line
2.16.1
author maintainer
#1 lore raw

Applied "ASoC: Intel: Fix build" to the asoc tree

The patch

ASoC: Intel: Fix build

has been applied to the asoc tree at

https://git.kernel.org/pub/scm/linux/kernel/git/broonie/sound.git

All being well this means that it will be integrated into the linux-next tree (usually sometime in the next 24 hours) and sent to Linus during the next merge window (or sooner if it is a bug fix), however if problems are discovered then the patch may be dropped or reverted.

You may get further e-mails resulting from automated or manual testing and review of the tree, please engage with people reporting problems and send followup patches addressing any issues that are reported if needed.

If any updates are required or you are submitting further changes they should be sent as incremental updates against current git, existing patches will not be replaced.

Please add any relevant lists and maintainers to the CCs when replying to this mail.

Thanks,
Mark

Quoted 1 line

From 0b9751c7179b8ec7a33addc3a8b2b1639d4678cb Mon Sep 17 00:00:00 2001

From: Mark Brown <[email protected]>
Date: Thu, 15 Feb 2018 17:14:16 +0000
Subject: [PATCH] ASoC: Intel: Fix build

One of the recently introduced commits hadn't been build tested, fix that.

---
 sound/soc/codecs/hdac_hdmi.c | 6 +++---
 1 file changed, 3 insertions(+), 3 deletions(-)
sound/soc/codecs/hdac_hdmi.c +3 -3
index 60bea9d69fc0..84f7a7a36e4b 100644
@@ -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;
Signature · 1 line
2.16.1