]> git.baikalelectronics.ru Git - kernel.git/commit
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)
commit3897694875f2c108db9b12c9f16bfdd2f73f8358
tree1274da630ec538fa1652dcc7a65b5a7b9dcfac4f
parentb82d9eb10fa98f8229357371867818e4b6750349
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 74c0b4e76 "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