diff options
author | Piyush Mehta <piyush.mehta@amd.com> | 2023-11-21 23:51:18 +0530 |
---|---|---|
committer | Greg Kroah-Hartman <gregkh@linuxfoundation.org> | 2023-12-15 13:52:29 +0100 |
commit | 53b5ff83d89349778bc61e67237f72c5dc6536c2 (patch) | |
tree | 3f681e5231c8654ba7235bec06e0000f43299023 /drivers/usb/class/cdc-acm.c | |
parent | 51920207674e9e3475a91d2091583889792df99a (diff) |
usb: dwc3: xilinx: improve error handling for PM APIs
Improve error handling for PM APIs in the dwc3_xlnx_probe function by
introducing devm_pm_runtime_enable and error label. Removed unnecessary
API pm_runtime_disable call in dwc3_xlnx_remove.
Signed-off-by: Piyush Mehta <piyush.mehta@amd.com>
Signed-off-by: Radhey Shyam Pandey <radhey.shyam.pandey@amd.com>
Link: https://lore.kernel.org/r/1700590878-124335-1-git-send-email-radhey.shyam.pandey@amd.com
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Diffstat (limited to 'drivers/usb/class/cdc-acm.c')
0 files changed, 0 insertions, 0 deletions