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)
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>

No differences found