kernel_optimize_test/drivers/usb/dwc3
Zheng Yongjun 2a1bf8e5ad usb: dwc3: pci: Fix pm_runtime_get_sync() error checking
[ Upstream commit a03e2ddab8e735e2cc315609b297b300e9cc60d2 ]

If the device is already in a runtime PM enabled state
pm_runtime_get_sync() will return 1, so a test for negative
value should be used to check for errors.

Fixes: 8eed00b237 ("usb: dwc3: pci: Runtime resume child device from wq")
Signed-off-by: Zheng Yongjun <zhengyongjun3@huawei.com>
Link: https://lore.kernel.org/r/20220422062652.10575-1-zhengyongjun3@huawei.com
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Signed-off-by: Sasha Levin <sashal@kernel.org>
2022-06-14 18:32:31 +02:00
..
core.c usb: dwc3: core: Only handle soft-reset in DCTL 2022-05-09 09:04:58 +02:00
core.h
debug.h
debugfs.c
drd.c usb: dwc3: Try usb-role-switch first in dwc3_drd_init 2022-05-09 09:04:58 +02:00
dwc3-exynos.c
dwc3-haps.c
dwc3-keystone.c
dwc3-meson-g12a.c
dwc3-of-simple.c
dwc3-omap.c usb: dwc3: omap: fix "unbalanced disables for smps10_out1" on omap5evm 2022-04-13 21:01:00 +02:00
dwc3-pci.c usb: dwc3: pci: Fix pm_runtime_get_sync() error checking 2022-06-14 18:32:31 +02:00
dwc3-qcom.c
dwc3-st.c
ep0.c
gadget.c usb: dwc3: gadget: Move null pinter check to proper place 2022-06-09 10:20:48 +02:00
gadget.h
host.c
io.h
Kconfig
Makefile
trace.c
trace.h
ulpi.c