usb: xhci-mtk: check return value in suspend/resume hooks
authorChunfeng Yun <chunfeng.yun@mediatek.com>
Sat, 10 Apr 2021 05:10:02 +0000 (13:10 +0800)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Wed, 14 Apr 2021 14:41:34 +0000 (16:41 +0200)
commit82dad9fb68fbcce4986503ae446e409ba2aad699
treed9ba1f2d4298e23ebe7ff0b3d4776e5b38a29aa1
parent1373fefc6243cc96b3565f0ffffadfac4ccfb977
usb: xhci-mtk: check return value in suspend/resume hooks

Return error number if encounter errors during suspend and resume.

Signed-off-by: Chunfeng Yun <chunfeng.yun@mediatek.com>
Link: https://lore.kernel.org/r/1618031406-15347-1-git-send-email-chunfeng.yun@mediatek.com
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
drivers/usb/host/xhci-mtk.c