diff options
author | Gustavo A. R. Silva <gustavo@embeddedor.com> | 2018-07-05 10:00:09 -0500 |
---|---|---|
committer | Kishon Vijay Abraham I <kishon@ti.com> | 2018-07-10 13:45:11 +0530 |
commit | 01abdcc5288f3bf3ea65378a4717138508b9c574 (patch) | |
tree | c4da64f78dc1739d69dd7b5413b8d138b3802c02 /drivers/phy/qualcomm | |
parent | 8b1087fa3a272c962836ea0e9a8bba14b0ee0ee5 (diff) |
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>
Diffstat (limited to 'drivers/phy/qualcomm')
-rw-r--r-- | drivers/phy/qualcomm/phy-qcom-usb-hs.c | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/drivers/phy/qualcomm/phy-qcom-usb-hs.c b/drivers/phy/qualcomm/phy-qcom-usb-hs.c index 2d0c70b5589f..abbbe75070da 100644 --- a/drivers/phy/qualcomm/phy-qcom-usb-hs.c +++ b/drivers/phy/qualcomm/phy-qcom-usb-hs.c @@ -55,6 +55,7 @@ static int qcom_usb_hs_phy_set_mode(struct phy *phy, enum phy_mode mode) case PHY_MODE_USB_OTG: case PHY_MODE_USB_HOST: val |= ULPI_INT_IDGRD; + /* fall through */ case PHY_MODE_USB_DEVICE: val |= ULPI_INT_SESS_VALID; default: |