Searched hist:a03e2ddab8e735e2cc315609b297b300e9cc60d2 (Results 1 – 1 of 1) sorted by relevance
/linux/drivers/usb/dwc3/ |
H A D | dwc3-pci.c | diff a03e2ddab8e735e2cc315609b297b300e9cc60d2 Fri Apr 22 08:26:52 CEST 2022 Zheng Yongjun <zhengyongjun3@huawei.com> usb: dwc3: pci: Fix pm_runtime_get_sync() error checking
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: 8eed00b237a28 ("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>
|