diff options
author | Gustavo A. R. Silva <gustavo@embeddedor.com> | 2019-07-29 01:58:58 +0200 |
---|---|---|
committer | Lee Jones <lee.jones@linaro.org> | 2019-08-12 12:28:55 +0200 |
commit | ea1acf11ee7ac2d63d93e78c638ec8abc710a1a7 (patch) | |
tree | 8d19bac3ccb646f40e3652b7960557d654803859 /drivers/mfd/tps6507x.c | |
parent | mfd: intel-lpss: Remove D3cold delay (diff) | |
download | linux-ea1acf11ee7ac2d63d93e78c638ec8abc710a1a7.tar.xz linux-ea1acf11ee7ac2d63d93e78c638ec8abc710a1a7.zip |
mfd: omap-usb-host: Mark expected switch fall-throughs
Mark switch cases where we are expecting to fall through.
This patch fixes the following warnings:
drivers/mfd/omap-usb-host.c: In function 'usbhs_runtime_resume':
drivers/mfd/omap-usb-host.c:303:7: warning: this statement may fall through [-Wimplicit-fallthrough=]
if (!IS_ERR(omap->hsic480m_clk[i])) {
^
drivers/mfd/omap-usb-host.c:313:3: note: here
case OMAP_EHCI_PORT_MODE_TLL:
^~~~
drivers/mfd/omap-usb-host.c: In function 'usbhs_runtime_suspend':
drivers/mfd/omap-usb-host.c:345:7: warning: this statement may fall through [-Wimplicit-fallthrough=]
if (!IS_ERR(omap->hsic480m_clk[i]))
^
drivers/mfd/omap-usb-host.c:349:3: note: here
case OMAP_EHCI_PORT_MODE_TLL:
^~~~
Reported-by: Stephen Rothwell <sfr@canb.auug.org.au>
Signed-off-by: Gustavo A. R. Silva <gustavo@embeddedor.com>
Reviewed-by: Kees Cook <keescook@chromium.org>
Signed-off-by: Lee Jones <lee.jones@linaro.org>
Diffstat (limited to 'drivers/mfd/tps6507x.c')
0 files changed, 0 insertions, 0 deletions