commit | 8e2de74e781e696636e8b4cd08084d2b310d44d9 | [log] [tgz] |
---|---|---|
author | Eliad Peller <eliad@wizery.com> | Sun Jan 23 11:25:27 2011 +0100 |
committer | Luciano Coelho <coelho@ti.com> | Mon Jan 24 23:15:11 2011 +0200 |
tree | fcd5f1384c23920ed556ab0c202537899285acff | |
parent | bbba3e6832ad3e974fb593a98abe03f8b60fc7f3 [diff] |
wl12xx: wrong values are returned in gpio_power_write() 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>