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)
commitd19663ac61a6e36eec655d3c84a106686ebddd2c
tree186e46cad833116613f9cdd1c11fde53b0aa32e5
parent11a441ce82d6ffecfd39b324024de0cd630b36c1
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