linux/drivers/usb/typec/ucsi
Wei Yongjun c2d1812600 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: 5c9ae5a875 ("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>
2019-04-29 14:25:12 +02:00
..
Kconfig USB: add missing SPDX lines to Kconfig and Makefiles 2019-01-22 09:08:17 +01:00
Makefile usb: typec: ucsi: Support for DisplayPort alt mode 2019-04-25 11:04:55 +02:00
displayport.c usb: typec: ucsi: Support for DisplayPort alt mode 2019-04-25 11:04:55 +02:00
trace.c usb: typec: ucsi: Preliminary support for alternate modes 2019-04-25 11:03:53 +02:00
trace.h usb: typec: ucsi: Preliminary support for alternate modes 2019-04-25 11:03:53 +02:00
ucsi.c usb: typec: Add driver for NVIDIA Alt Modes 2019-04-25 11:04:56 +02:00
ucsi.h usb: typec: ucsi: Support for DisplayPort alt mode 2019-04-25 11:04:55 +02:00
ucsi_acpi.c usb: typec: ucsi: acpi: Workaround for cache mode issue 2018-06-25 21:30:12 +08:00
ucsi_ccg.c usb: typec: ucsi: ccg: fix missing unlock on error in ccg_cmd_write_flash_row() 2019-04-29 14:25:12 +02:00