ASoC: wm8350: Use jiffies rather than msecs in schedule_delayed_work()
authorAxel Lin <axel.lin@ingics.com>
Sun, 3 Mar 2013 08:20:50 +0000 (16:20 +0800)
committerMark Brown <broonie@opensource.wolfsonmicro.com>
Sun, 3 Mar 2013 14:46:38 +0000 (22:46 +0800)
commit51cd02d43c0bc7f55c84f50de23c08554db56ce1
tree1274da630ec538fa1652dcc7a65b5a7b9dcfac4f
parent19f949f52599ba7c3f67a5897ac6be14bfcb1200
ASoC: wm8350: Use jiffies rather than msecs in schedule_delayed_work()

The delay parameter of schedule_delayed_work() is number of jiffies to wait
rather than miliseconds.

Before commit 6d3c26bcb "ASoC: Use delayed work to debounce WM8350 jack IRQs",
the debounce time is 200 miliseconds in wm8350_hp_jack_handler().
So I think this is a bug when convert to use delayed work.

Signed-off-by: Axel Lin <axel.lin@ingics.com>
Signed-off-by: Mark Brown <broonie@opensource.wolfsonmicro.com>
sound/soc/codecs/wm8350.c