wl12xx: wrong values are returned in gpio_power_write()
authorEliad Peller <eliad@wizery.com>
Sun, 23 Jan 2011 10:25:27 +0000 (11:25 +0100)
committerLuciano Coelho <coelho@ti.com>
Mon, 24 Jan 2011 21:15:11 +0000 (23:15 +0200)
Return values were assigned to incorrect var / weren't assigned.
fix it, and defer mutex_lock after the sanity checks.

Signed-off-by: Eliad Peller <eliad@wizery.com>
Signed-off-by: Luciano Coelho <coelho@ti.com>

No differences found