summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorMark Brown <broonie@opensource.wolfsonmicro.com>2013-03-07 07:29:40 +0100
committerMark Brown <broonie@opensource.wolfsonmicro.com>2013-03-07 07:29:40 +0100
commitde83fb38df2c1418fb7385248d797d3046c5512c (patch)
treed6a90754bd4215d5d69be8d3fcc3ffab33835483
parentMerge remote-tracking branch 'asoc/fix/tegra' into tmp (diff)
parentASoC: wm8350: Use jiffies rather than msecs in schedule_delayed_work() (diff)
downloadlinux-de83fb38df2c1418fb7385248d797d3046c5512c.tar.xz
linux-de83fb38df2c1418fb7385248d797d3046c5512c.zip
Merge remote-tracking branch 'asoc/fix/wm8350' into tmp
-rw-r--r--sound/soc/codecs/wm8350.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/sound/soc/codecs/wm8350.c b/sound/soc/codecs/wm8350.c
index ec0efc1443ba..0e8b3aaf6c8d 100644
--- a/sound/soc/codecs/wm8350.c
+++ b/sound/soc/codecs/wm8350.c
@@ -1301,7 +1301,7 @@ static irqreturn_t wm8350_hpl_jack_handler(int irq, void *data)
if (device_may_wakeup(wm8350->dev))
pm_wakeup_event(wm8350->dev, 250);
- schedule_delayed_work(&priv->hpl.work, 200);
+ schedule_delayed_work(&priv->hpl.work, msecs_to_jiffies(200));
return IRQ_HANDLED;
}
@@ -1318,7 +1318,7 @@ static irqreturn_t wm8350_hpr_jack_handler(int irq, void *data)
if (device_may_wakeup(wm8350->dev))
pm_wakeup_event(wm8350->dev, 250);
- schedule_delayed_work(&priv->hpr.work, 200);
+ schedule_delayed_work(&priv->hpr.work, msecs_to_jiffies(200));
return IRQ_HANDLED;
}