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

phy: qcom-usb-hs: Fix fall-through warnings for Clang

In preparation to enable -Wimplicit-fallthrough for Clang, fix a warning
by explicitly adding a break statement instead of letting the code fall
through to the next case.

Link: https://github.com/KSPP/linux/issues/115
Signed-off-by: Gustavo A. R. Silva <gustavoars@kernel.org>
Link: https://lore.kernel.org/r/20210305100219.GA142595@embeddedor
Signed-off-by: Vinod Koul <vkoul@kernel.org>

authored by

Gustavo A. R. Silva and committed by
Vinod Koul
d0dde32d 00f2e6f6

+1
+1
drivers/phy/qualcomm/phy-qcom-usb-hs.c
··· 56 56 fallthrough; 57 57 case PHY_MODE_USB_DEVICE: 58 58 val |= ULPI_INT_SESS_VALID; 59 + break; 59 60 default: 60 61 break; 61 62 }