]> www.pilppa.org Git - linux-2.6-omap-h63xx.git/commit
twl4030-madc: Convert ioctl to unlocked
authorAaro Koskinen <Aaro.Koskinen@nokia.com>
Fri, 20 Feb 2009 14:13:54 +0000 (14:13 +0000)
committerTony Lindgren <tony@atomide.com>
Fri, 27 Feb 2009 18:09:51 +0000 (10:09 -0800)
commit172195de53c497b4650a24d13d285b9c1c3bcb3f
treecaf2de6c0cf11653300a022b96e48060fdd7c61c
parent2bf450019410d15dbce63893d3f91e076a5a70c0
twl4030-madc: Convert ioctl to unlocked

Use unlocked ioctl instead of taking the BKL for an operation that can
take some milliseconds. The driver mutex is now taken before the active
status check, so that the concurrent users of this ioctl won't start
seeing EBUSY (previously guaranteed by the BKL).

Signed-off-by: Aaro Koskinen <Aaro.Koskinen@nokia.com>
Signed-off-by: Tony Lindgren <tony@atomide.com>
drivers/i2c/chips/twl4030-madc.c