OpenCloudOS-Kernel/drivers/usb/misc
Zhang Qilong 00bd6bca3f USB: apple-mfi-fastcharge: fix reference leak in apple_mfi_fc_set_property
pm_runtime_get_sync() will increment pm usage at first and it
will resume the device later. If runtime of the device has
error or device is in inaccessible state(or other error state),
resume operation will fail. If we do not call put operation to
decrease the reference, the result is that this device cannot
enter the idle state and always stay busy or other non-idle
state.

Fixes: 249fa8217b ("USB: Add driver to control USB fast charge for iOS devices")
Signed-off-by: Zhang Qilong <zhangqilong3@huawei.com>
Link: https://lore.kernel.org/r/20201102022650.67115-1-zhangqilong3@huawei.com
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
2020-11-06 12:06:58 +01:00
..
sisusbvga TTY/Serial patches for 5.9-rc1 2020-08-06 14:56:11 -07:00
Kconfig USB: Replace HTTP links with HTTPS ones 2020-07-21 13:41:57 +02:00
Makefile USB: Add driver to control USB fast charge for iOS devices 2020-02-12 11:01:55 -08:00
adutux.c USB: adutux: fix debugging 2020-09-17 18:52:40 +02:00
apple-mfi-fastcharge.c USB: apple-mfi-fastcharge: fix reference leak in apple_mfi_fc_set_property 2020-11-06 12:06:58 +01:00
appledisplay.c usb: appledisplay: use module_usb_driver to simplify the code 2020-09-22 10:37:19 +02:00
chaoskey.c USB: chaoskey: fix error case of a timeout 2019-11-11 14:29:39 +01:00
cypress_cy7c63.c USB: cypress_cy7c63: convert to use dev_groups 2019-08-09 07:55:44 +02:00
cytherm.c USB: cytherm: convert to use dev_groups 2019-08-09 07:55:44 +02:00
ehset.c USB: ch9: add "USB_" prefix in front of TEST defines 2020-06-24 15:01:24 +02:00
emi26.c USB: misc: Remove redundant license text 2017-11-04 11:55:38 +01:00
emi62.c USB: misc: Remove redundant license text 2017-11-04 11:55:38 +01:00
ezusb.c USB: misc: Remove redundant license text 2017-11-04 11:55:38 +01:00
ftdi-elan.c usb: ftdi-elan: move a couple of statements to next line 2019-10-04 14:09:42 +02:00
idmouse.c USB: idmouse: fix interface sanity checks 2019-12-10 13:11:22 +01:00
iowarrior.c USB: iowarrior: fix up report size handling for some devices 2020-07-27 13:19:58 +02:00
isight_firmware.c USB: misc: Remove redundant license text 2017-11-04 11:55:38 +01:00
ldusb.c usb: misc: ldusb: Demote obvious misuse of kerneldoc to standard comment blocks 2020-07-09 16:47:00 +02:00
legousbtower.c USB: legousbtower: use usb_control_msg_recv() 2020-09-25 16:33:59 +02:00
lvstest.c USB: lvtest: return proper error code in probe 2020-08-18 11:55:23 +02:00
trancevibrator.c USB: trancevibrator: convert to use dev_groups 2019-08-09 07:55:45 +02:00
usb251xb.c usb: usb251xb: fix regulator probe and error handling 2020-03-04 10:56:26 +01:00
usb3503.c usb/misc: usb3503: Use pm_ptr() macro 2020-09-04 16:53:57 +02:00
usb4604.c usb/misc: usb4604: Use pm_ptr() macro 2020-09-04 16:53:51 +02:00
usb_u132.h USB: misc: Use the correct style for SPDX License Identifier 2020-04-16 14:32:47 +02:00
usblcd.c USB: usblcd: Remove the superfluous break 2020-08-28 09:48:33 +02:00
usbsevseg.c USB: usbsevseg: convert to use dev_groups 2019-08-09 07:55:45 +02:00
usbtest.c usb: usbtest: reduce stack usage in test_queue 2020-07-21 13:41:57 +02:00
uss720.c usb: misc: uss720: Fix two sleep-in-atomic-context bugs 2018-09-05 14:36:53 +02:00
yurex.c Linux 5.9-rc3 2020-08-31 07:11:45 +02:00