tmp_suning_uos_patched/drivers/mfd
Mark Brown 5051d411ec mfd: Clean up after WM83xx AUXADC interrupt if it arrives late
In certain circumstances, especially under heavy load, the AUXADC
completion interrupt may be detected after we've timed out waiting for
it.  That conversion would still succeed but the next conversion will
see the completion that was signalled by the interrupt for the previous
conversion and therefore not wait for the AUXADC conversion to run,
causing it to report failure.

Provide a simple, non-invasive cleanup by using try_wait_for_completion()
to ensure that the completion is not signalled before we wait.  Since
the AUXADC is run within a mutex we know there can only have been at
most one AUXADC interrupt outstanding.  A more involved change should
follow for the next merge window.

Signed-off-by: Mark Brown <broonie@opensource.wolfsonmicro.com>
Signed-off-by: Samuel Ortiz <sameo@linux.intel.com>
2010-05-13 12:58:55 +02:00
..
88pm860x-core.c
88pm860x-i2c.c
ab3100-core.c
ab3100-otp.c
ab4500-core.c
adp5520.c
asic3.c
da903x.c
dm355evm_msp.c
ezx-pcap.c
htc-egpio.c
htc-i2cpld.c
htc-pasic3.c
Kconfig
lpc_sch.c
Makefile
max8925-core.c
max8925-i2c.c
mc13783-core.c
mcp-core.c
mcp-sa11x0.c
menelaus.c
mfd-core.c
pcf50633-adc.c
pcf50633-core.c
pcf50633-gpio.c
sh_mobile_sdhi.c
sm501.c
t7l66xb.c
tc6387xb.c
tc6393xb.c
timberdale.c
timberdale.h
tmio_core.c
tps65010.c
twl-core.c
twl4030-codec.c
twl4030-irq.c
twl4030-power.c
twl6030-irq.c
ucb1x00-assabet.c
ucb1x00-core.c
ucb1x00-ts.c
ucb1400_core.c
wm831x-core.c
wm831x-irq.c
wm831x-otp.c
wm8350-core.c
wm8350-gpio.c
wm8350-i2c.c
wm8350-irq.c
wm8350-regmap.c
wm8400-core.c
wm8994-core.c