Skip to content

usb: musb: omap2430: propagate PHY setup errors

Pengpeng Hou linux-omap linux-usb lkml 1 version In review

Get series with b4
b4 am [email protected]

Versions newest first

  1. v1 Latest3 patches 1 replyIn review

Patches in v1 No applies recorded yet

#Subject and filesSizeRepliesApplied
1/3usb: musb: omap2430: Propagate PHY errors from initdrivers/usb/musb/omap2430.c+9 -20 replies
2/3usb: musb: omap2430: Propagate PHY errors from runtime resumedrivers/usb/musb/omap2430.c+10 -20 replies
3/3usb: musb: omap2430: Propagate PHY errors from system resumedrivers/usb/musb/omap2430.c+10 -20 replies

Reviews trailers per patch

No Reviewed-by, Acked-by or Tested-by trailers for v1 yet.

Read the v1 thread

Cover letter [PATCH 0/3] usb: musb: omap2430: propagate PHY setup errors

The OMAP2430 glue ignores generic PHY initialization and power-on failures during initial setup, runtime resume and system resume. The callers can therefore access glue registers or publish resumed state without a usable PHY.

Keep the three lifecycle transitions separate so each patch has one failure state and one introducing commit. Each power-on failure exits a PHY that was initialized by the same transition.

The issues were found by our static-analysis tool and manually reviewed.

Pengpeng Hou (3):
usb: musb: omap2430: Propagate PHY errors from init
usb: musb: omap2430: Propagate PHY errors from runtime resume
usb: musb: omap2430: Propagate PHY errors from system resume

 drivers/usb/musb/omap2430.c | 35 +++++++++++++++++++++++++++++------
 1 file changed, 29 insertions(+), 6 deletions(-)
Signature · 1 line
2.50.1 (Apple Git-155)