mirror of
https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git
synced 2024-11-01 17:08:10 +00:00
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>
This commit is contained in:
parent
00f2e6f668
commit
d0dde32dda
1 changed files with 1 additions and 0 deletions
|
@ -56,6 +56,7 @@ static int qcom_usb_hs_phy_set_mode(struct phy *phy,
|
||||||
fallthrough;
|
fallthrough;
|
||||||
case PHY_MODE_USB_DEVICE:
|
case PHY_MODE_USB_DEVICE:
|
||||||
val |= ULPI_INT_SESS_VALID;
|
val |= ULPI_INT_SESS_VALID;
|
||||||
|
break;
|
||||||
default:
|
default:
|
||||||
break;
|
break;
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in a new issue