Skip to contentSkip to conversation

ASoC: dio2125: use gpiod_set_value_cansleep

PATCH In review Jerome Brunet 2 participants 2 messages Mar 7, 2017

Subsystems (2)
lore
Share & tools
lore
#0 lore raw

PATCH 1/1 ASoC: dio2125: use gpiod_set_value_cansleep

Use the "cansleep" variant of gpiod_set_value so the driver can be used with slow gpio controllers as well.

Fixes 85825d5e8869 ("ASoC: dio2125: add dio2125 amp driver")
---
 sound/soc/codecs/dio2125.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
sound/soc/codecs/dio2125.c +1 -1
index 015e310556d3..09451cd44f9b 100644
@@ -46,7 +46,7 @@ static int drv_event(struct snd_soc_dapm_widget *w,
 		return -EINVAL;
 	}
 
-	gpiod_set_value(priv->gpiod_enable, val);
+	gpiod_set_value_cansleep(priv->gpiod_enable, val);
 
 	return 0;
 }
Signature · 1 line
2.9.3
maintainer
#1 lore raw

Applied "ASoC: dio2125: use gpiod_set_value_cansleep" to the asoc tree

The patch

ASoC: dio2125: use gpiod_set_value_cansleep

has been applied to the asoc tree at

git://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 ea2a2ad17ca1e9dbb01ac935f1b1b53f99f73b13 Mon Sep 17 00:00:00 2001

From: Jerome Brunet <[email protected]>
Date: Tue, 7 Mar 2017 14:12:22 +0100
Subject: [PATCH] ASoC: dio2125: use gpiod_set_value_cansleep

Use the "cansleep" variant of gpiod_set_value so the driver can be used with slow gpio controllers as well.

Fixes 85825d5e8869 ("ASoC: dio2125: add dio2125 amp driver")
---
 sound/soc/codecs/dio2125.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
sound/soc/codecs/dio2125.c +1 -1
index 015e310556d3..09451cd44f9b 100644
@@ -46,7 +46,7 @@ static int drv_event(struct snd_soc_dapm_widget *w,
 		return -EINVAL;
 	}
 
-	gpiod_set_value(priv->gpiod_enable, val);
+	gpiod_set_value_cansleep(priv->gpiod_enable, val);
 
 	return 0;
 }
Signature · 1 line
2.11.0