mirror of
https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git/
synced 2026-10-09 18:15:49 +00:00
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>
This commit is contained in:
parent
bbba3e6832
commit
8e2de74e78
1 changed files with 4 additions and 6 deletions
Loading…
Add table
Add a link
Reference in a new issue