projects
/
openwrt
/
staging
/
blogic.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
1e03580
)
ASoC: dio2125: use gpiod_set_value_cansleep
author
Jerome Brunet
<
[email protected]
>
Tue, 7 Mar 2017 13:12:22 +0000
(14:12 +0100)
committer
Mark Brown
<
[email protected]
>
Tue, 7 Mar 2017 13:56:06 +0000
(14:56 +0100)
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")
Reported-by: Mark Brown <
[email protected]
>
Signed-off-by: Jerome Brunet <
[email protected]
>
Signed-off-by: Mark Brown <
[email protected]
>
sound/soc/codecs/dio2125.c
patch
|
blob
|
history
diff --git
a/sound/soc/codecs/dio2125.c
b/sound/soc/codecs/dio2125.c
index 015e310556d33105ac05511e049baefcfdbf5313..09451cd44f9b980d6afb3dc14614f846c3d13b3e 100644
(file)
--- a/
sound/soc/codecs/dio2125.c
+++ b/
sound/soc/codecs/dio2125.c
@@
-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;
}