Skip to content

Commit 50fdcb5

Browse files
Chunfeng Yungregkh
authored andcommitted
usb: mtu3: return successful suspend status
Forgot 'return 0;' when suspend successfully, make the mistake when I split patches. Fixes: 6b58739 ("usb: mtu3: support suspend/resume for dual-role mode") Signed-off-by: Chunfeng Yun <[email protected]> Link: https://lore.kernel.org/r/[email protected] Signed-off-by: Greg Kroah-Hartman <[email protected]>
1 parent 4ce1866 commit 50fdcb5

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

drivers/usb/mtu3/mtu3_plat.c

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -502,6 +502,7 @@ static int mtu3_suspend_common(struct device *dev, pm_message_t msg)
502502
ssusb_phy_power_off(ssusb);
503503
clk_bulk_disable_unprepare(BULK_CLKS_CNT, ssusb->clks);
504504
ssusb_wakeup_set(ssusb, true);
505+
return 0;
505506

506507
sleep_err:
507508
resume_ip_and_ports(ssusb, msg);

0 commit comments

Comments
 (0)