Linux kernel mirror (for testing) git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git
kernel os linux

phy: qcom-usb-hs: Mark expected switch fall-through

In preparation to enabling -Wimplicit-fallthrough, mark switch cases
where we are expecting to fall through.

Signed-off-by: Gustavo A. R. Silva <gustavo@embeddedor.com>
Signed-off-by: Kishon Vijay Abraham I <kishon@ti.com>

authored by

Gustavo A. R. Silva and committed by
Kishon Vijay Abraham I
01abdcc5 8b1087fa

+1
+1
drivers/phy/qualcomm/phy-qcom-usb-hs.c
··· 55 55 case PHY_MODE_USB_OTG: 56 56 case PHY_MODE_USB_HOST: 57 57 val |= ULPI_INT_IDGRD; 58 + /* fall through */ 58 59 case PHY_MODE_USB_DEVICE: 59 60 val |= ULPI_INT_SESS_VALID; 60 61 default: