Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 270652
b: refs/heads/master
c: f34c660
h: refs/heads/master
v: v3
  • Loading branch information
Peter Ujfalusi authored and Mark Brown committed Sep 23, 2011
1 parent 6979b4e commit 8f3ee4e
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 8 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: 3b5b516fbf7a057b6e2d115c301fec2e206eb6ea
refs/heads/master: f34c660662cc2b6e133083160bf6a3c77f11886e
9 changes: 2 additions & 7 deletions trunk/sound/soc/codecs/twl6040.c
Original file line number Diff line number Diff line change
Expand Up @@ -740,15 +740,10 @@ static void twl6040_accessory_work(struct work_struct *work)
static irqreturn_t twl6040_audio_handler(int irq, void *data)
{
struct snd_soc_codec *codec = data;
struct twl6040 *twl6040 = codec->control_data;
struct twl6040_data *priv = snd_soc_codec_get_drvdata(codec);
u8 intid;

intid = twl6040_reg_read(twl6040, TWL6040_REG_INTID);

if ((intid & TWL6040_PLUGINT) || (intid & TWL6040_UNPLUGINT))
queue_delayed_work(priv->workqueue, &priv->delayed_work,
msecs_to_jiffies(200));
queue_delayed_work(priv->workqueue, &priv->delayed_work,
msecs_to_jiffies(200));

return IRQ_HANDLED;
}
Expand Down

0 comments on commit 8f3ee4e

Please sign in to comment.