diff options
author | Wei Yongjun <weiyongjun1@huawei.com> | 2019-04-29 14:26:30 +0200 |
---|---|---|
committer | Greg Kroah-Hartman <gregkh@linuxfoundation.org> | 2019-04-29 14:25:12 +0200 |
commit | c2d1812600f5a8c9341b2db7c863cd2725444de5 (patch) | |
tree | 82eafd1d111fa3dd80be9b4f6b1deecbfa081a07 /drivers/usb/class | |
parent | dt-bindings: usb: renesas_usbhs: Add support for r8a77470 (diff) | |
download | linux-c2d1812600f5a8c9341b2db7c863cd2725444de5.tar.xz linux-c2d1812600f5a8c9341b2db7c863cd2725444de5.zip |
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>
Diffstat (limited to 'drivers/usb/class')
0 files changed, 0 insertions, 0 deletions