]> git.baikalelectronics.ru Git - kernel.git/commit
mfd: Use completion interrupt for WM835x AUXADC
authorMark Brown <broonie@opensource.wolfsonmicro.com>
Tue, 23 Feb 2010 11:08:05 +0000 (11:08 +0000)
committerSamuel Ortiz <sameo@linux.intel.com>
Sun, 7 Mar 2010 21:17:33 +0000 (22:17 +0100)
commiteef13d8a4036ae959546b2412e878cc7bacbacde
tree186e46cad833116613f9cdd1c11fde53b0aa32e5
parent398c8572d3dfe9b046a63744947084d3ac81e5e6
mfd: Use completion interrupt for WM835x AUXADC

Use the completion interrupt generated by the device rather than
polling for conversions to complete. As a backup we still check
the state of the AUXADC if we don't get a completion, mostly for
systems that don't have the WM8350 interrupt infrastructure hooked
up.

Signed-off-by: Mark Brown <broonie@opensource.wolfsonmicro.com>
Signed-off-by: Samuel Ortiz <sameo@linux.intel.com>
drivers/mfd/wm8350-core.c
include/linux/mfd/wm8350/core.h