Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 186879
b: refs/heads/master
c: 59f2507
h: refs/heads/master
i:
  186877: f6dbc06
  186875: afe904a
  186871: 3562caa
  186863: e98049d
  186847: 69db7a6
  186815: fcf1333
  186751: 1f8d03b
  186623: 664026c
  186367: 7a43816
v: v3
  • Loading branch information
Mark Brown authored and Samuel Ortiz committed Mar 7, 2010
1 parent d3b6daa commit a1f85e1
Show file tree
Hide file tree
Showing 3 changed files with 4 additions and 4 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: ecf926bcda5ba1da7269dcaa71a1b6920dc48349
refs/heads/master: 59f25070df0325067d7916b467ad15725657fedc
2 changes: 1 addition & 1 deletion trunk/drivers/power/wm8350_power.c
Original file line number Diff line number Diff line change
Expand Up @@ -190,7 +190,7 @@ static irqreturn_t wm8350_charger_handler(int irq, void *data)
struct wm8350_power *power = &wm8350->power;
struct wm8350_charger_policy *policy = power->policy;

switch (irq) {
switch (irq - wm8350->irq_base) {
case WM8350_IRQ_CHG_BAT_FAIL:
dev_err(wm8350->dev, "battery failed\n");
break;
Expand Down
4 changes: 2 additions & 2 deletions trunk/sound/soc/codecs/wm8350.c
Original file line number Diff line number Diff line change
Expand Up @@ -1349,7 +1349,7 @@ static irqreturn_t wm8350_hp_jack_handler(int irq, void *data)
int mask;
struct wm8350_jack_data *jack = NULL;

switch (irq) {
switch (irq - wm8350->irq_base) {
case WM8350_IRQ_CODEC_JCK_DET_L:
jack = &priv->hpl;
mask = WM8350_JACK_L_LVL;
Expand Down Expand Up @@ -1424,7 +1424,7 @@ int wm8350_hp_jack_detect(struct snd_soc_codec *codec, enum wm8350_jack which,
wm8350_set_bits(wm8350, WM8350_JACK_DETECT, ena);

/* Sync status */
wm8350_hp_jack_handler(irq, priv);
wm8350_hp_jack_handler(irq + wm8350->irq_base, priv);

return 0;
}
Expand Down

0 comments on commit a1f85e1

Please sign in to comment.