提交 01abdcc5 编写于 作者: G Gustavo A. R. Silva 提交者: Kishon Vijay Abraham I

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: NGustavo A. R. Silva <gustavo@embeddedor.com>
Signed-off-by: NKishon Vijay Abraham I <kishon@ti.com>
上级 8b1087fa
...@@ -55,6 +55,7 @@ static int qcom_usb_hs_phy_set_mode(struct phy *phy, enum phy_mode mode) ...@@ -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_OTG:
case PHY_MODE_USB_HOST: case PHY_MODE_USB_HOST:
val |= ULPI_INT_IDGRD; val |= ULPI_INT_IDGRD;
/* fall through */
case PHY_MODE_USB_DEVICE: case PHY_MODE_USB_DEVICE:
val |= ULPI_INT_SESS_VALID; val |= ULPI_INT_SESS_VALID;
default: default:
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册