Commit 1c02cbf7 authored by Gustavo A. R. Silva's avatar Gustavo A. R. Silva Committed by Wolfram Sang

i2c: designware-pcidrv: Mark expected switch fall-through

In preparation to enabling -Wimplicit-fallthrough, mark switch cases
where we are expecting to fall through.
Signed-off-by: default avatarGustavo A. R. Silva <gustavo@embeddedor.com>
Acked-by: default avatarAndy Shevchenko <andriy.shevchenko@linux.intel.com>
Signed-off-by: default avatarWolfram Sang <wsa@the-dreams.de>
parent ee87a0ce
...@@ -105,6 +105,7 @@ static int mfld_setup(struct pci_dev *pdev, struct dw_pci_controller *c) ...@@ -105,6 +105,7 @@ static int mfld_setup(struct pci_dev *pdev, struct dw_pci_controller *c)
case 0x0817: case 0x0817:
c->bus_cfg &= ~DW_IC_CON_SPEED_MASK; c->bus_cfg &= ~DW_IC_CON_SPEED_MASK;
c->bus_cfg |= DW_IC_CON_SPEED_STD; c->bus_cfg |= DW_IC_CON_SPEED_STD;
/* fall through */
case 0x0818: case 0x0818:
case 0x0819: case 0x0819:
c->bus_num = pdev->device - 0x817 + 3; c->bus_num = pdev->device - 0x817 + 3;
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment