1
0
mirror of git://projects.qi-hardware.com/openwrt-xburst.git synced 2024-12-01 11:10:37 +02:00

enable the speaker

This commit is contained in:
Xiangfu Liu 2009-10-13 23:30:21 +08:00
parent e64a14b4fd
commit fa7ec6d7d6

View File

@ -36,7 +36,7 @@ static int qi_lb60_spk_event(struct snd_soc_dapm_widget *widget,
int on = !SND_SOC_DAPM_EVENT_OFF(event); int on = !SND_SOC_DAPM_EVENT_OFF(event);
gpio_set_value(QI_LB60_SND_GPIO, on); gpio_set_value(QI_LB60_SND_GPIO, on);
gpio_set_value(QI_LB60_AMP_GPIO, 0); gpio_set_value(QI_LB60_AMP_GPIO, on);
return 0; return 0;
} }