aboutsummaryrefslogtreecommitdiffstats
path: root/sound/soc/omap
diff options
context:
space:
mode:
Diffstat (limited to 'sound/soc/omap')
-rw-r--r--sound/soc/omap/rx51.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/sound/soc/omap/rx51.c b/sound/soc/omap/rx51.c
index d1d8098923ce..04b5723bf89b 100644
--- a/sound/soc/omap/rx51.c
+++ b/sound/soc/omap/rx51.c
@@ -146,9 +146,9 @@ static int rx51_spk_event(struct snd_soc_dapm_widget *w,
146 struct snd_kcontrol *k, int event) 146 struct snd_kcontrol *k, int event)
147{ 147{
148 if (SND_SOC_DAPM_EVENT_ON(event)) 148 if (SND_SOC_DAPM_EVENT_ON(event))
149 gpio_set_value(RX51_SPEAKER_AMP_TWL_GPIO, 1); 149 gpio_set_value_cansleep(RX51_SPEAKER_AMP_TWL_GPIO, 1);
150 else 150 else
151 gpio_set_value(RX51_SPEAKER_AMP_TWL_GPIO, 0); 151 gpio_set_value_cansleep(RX51_SPEAKER_AMP_TWL_GPIO, 0);
152 152
153 return 0; 153 return 0;
154} 154}