]> git.baikalelectronics.ru Git - kernel.git/commit
Staging: wilc1000: unlock on error in init_chip()
authorDan Carpenter <dan.carpenter@oracle.com>
Fri, 21 Dec 2018 09:12:02 +0000 (12:12 +0300)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Tue, 15 Jan 2019 15:31:09 +0000 (16:31 +0100)
commit334efea14c6e85646620e5bd7597ec8fc7fdfc0c
tree44faadb45ef836fec764336a49d0fb499b867c59
parentcded2c28fe5bd62ee107d45a401ac6174e39fb31
Staging: wilc1000: unlock on error in init_chip()

When there is an error in init_bus() then we need to call release_bus()
before we return.

Fixes: d25b5d2b8606 ("staging: wilc1000: Add SDIO/SPI 802.11 driver")
Signed-off-by: Dan Carpenter <dan.carpenter@oracle.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
drivers/staging/wilc1000/wilc_wlan.c