summaryrefslogtreecommitdiff
path: root/sound
diff options
context:
space:
mode:
Diffstat (limited to 'sound')
-rw-r--r--sound/soc/codecs/dio2125.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/sound/soc/codecs/dio2125.c b/sound/soc/codecs/dio2125.c
index 015e310556d3..09451cd44f9b 100644
--- 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;
}