commit | c2d1812600f5a8c9341b2db7c863cd2725444de5 | [log] [tgz] |
---|---|---|
author | Wei Yongjun <weiyongjun1@huawei.com> | Mon Apr 29 12:26:30 2019 +0000 |
committer | Greg Kroah-Hartman <gregkh@linuxfoundation.org> | Mon Apr 29 14:25:12 2019 +0200 |
tree | 82eafd1d111fa3dd80be9b4f6b1deecbfa081a07 | |
parent | 5f2c54e7153f2b30b7ee5c65ec5eb2b38a7b962d [diff] |
usb: typec: ucsi: ccg: fix missing unlock on error in ccg_cmd_write_flash_row() Add the missing unlock before return from function ccg_cmd_write_flash_row() in the error handling case. Fixes: 5c9ae5a87573 ("usb: typec: ucsi: ccg: add firmware flashing support") Signed-off-by: Wei Yongjun <weiyongjun1@huawei.com> Acked-by: Heikki Krogerus <heikki.krogerus@linux.intel.com> Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>