mirror of
https://github.com/AuxXxilium/linux_dsm_epyc7002.git
synced 2025-01-20 20:59:34 +07:00
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: Gustavo A. R. Silva <gustavo@embeddedor.com> Acked-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com> Signed-off-by: Wolfram Sang <wsa@the-dreams.de>
This commit is contained in:
parent
ee87a0ce2f
commit
1c02cbf7de
@ -105,6 +105,7 @@ static int mfld_setup(struct pci_dev *pdev, struct dw_pci_controller *c)
|
||||
case 0x0817:
|
||||
c->bus_cfg &= ~DW_IC_CON_SPEED_MASK;
|
||||
c->bus_cfg |= DW_IC_CON_SPEED_STD;
|
||||
/* fall through */
|
||||
case 0x0818:
|
||||
case 0x0819:
|
||||
c->bus_num = pdev->device - 0x817 + 3;
|
||||
|
Loading…
Reference in New Issue
Block a user