twl4030-madc: Let the operation complete faster
authorAaro Koskinen <Aaro.Koskinen@nokia.com>
Fri, 20 Feb 2009 14:13:55 +0000 (14:13 +0000)
committerTony Lindgren <tony@atomide.com>
Fri, 27 Feb 2009 18:10:15 +0000 (10:10 -0800)
No need to wait before the first read, as the operation is likely
completed already. For timeout 50 milliseconds is an overkill, poll the
register for the duration of 5 milliseconds at maximum.

Also, clear the active flag in case of timeout.

Signed-off-by: Aaro Koskinen <Aaro.Koskinen@nokia.com>
Signed-off-by: Tony Lindgren <tony@atomide.com>

No differences found