Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 248289
b: refs/heads/master
c: 621206b
h: refs/heads/master
i:
  248287: f42bb4e
v: v3
  • Loading branch information
Lars-Peter Clausen authored and Mark Brown committed Apr 13, 2011
1 parent 68c2d3c commit e585069
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 6 deletions.
2 changes: 1 addition & 1 deletion [refs]
Original file line number Diff line number Diff line change
@@ -1,2 +1,2 @@
---
refs/heads/master: c6f0ede7c563497f6d7fef847a965d7fd63d86f9
refs/heads/master: 621206b76825f24ccb650b9f59c18c17f6760a4c
6 changes: 1 addition & 5 deletions trunk/sound/soc/jz4740/qi_lb60.c
Original file line number Diff line number Diff line change
Expand Up @@ -27,11 +27,7 @@
static int qi_lb60_spk_event(struct snd_soc_dapm_widget *widget,
struct snd_kcontrol *ctrl, int event)
{
int on = 0;
if (event & SND_SOC_DAPM_POST_PMU)
on = 1;
else if (event & SND_SOC_DAPM_PRE_PMD)
on = 0;
int on = !SND_SOC_DAPM_EVENT_OFF(event);

gpio_set_value(QI_LB60_SND_GPIO, on);
gpio_set_value(QI_LB60_AMP_GPIO, on);
Expand Down

0 comments on commit e585069

Please sign in to comment.