aboutsummaryrefslogtreecommitdiffstats
path: root/net/switchdev/switchdev.c
diff options
context:
space:
mode:
authorMaxim Kochetkov <[email protected]>2020-12-01 08:59:16 +0000
committerMark Brown <[email protected]>2020-12-01 12:17:13 +0000
commit2c2b3ad2c4c801bab1eec7264ea6991b1e4e8f2c (patch)
treea7e89f9f074c5aaa278d59f49f81382c7e57dfe2 /net/switchdev/switchdev.c
parentspi: fsl: fix use of spisel_boot signal on MPC8309 (diff)
downloadkernel-2c2b3ad2c4c801bab1eec7264ea6991b1e4e8f2c.tar.gz
kernel-2c2b3ad2c4c801bab1eec7264ea6991b1e4e8f2c.zip
spi: spi-fsl-dspi: Use max_native_cs instead of num_chipselect to set SPI_MCR
If cs-gpios property is used in devicetree then ctlr->num_chipselect value may be changed by spi_get_gpio_descs(). So use ctlr->max_native_cs instead of ctlr->num_chipselect to set SPI_MCR Fixes: 4fcc7c2292de (spi: spi-fsl-dspi: Don't access reserved fields in SPI_MCR) Signed-off-by: Maxim Kochetkov <[email protected]> Link: https://lore.kernel.org/r/[email protected] Signed-off-by: Mark Brown <[email protected]>
Diffstat (limited to 'net/switchdev/switchdev.c')
0 files changed, 0 insertions, 0 deletions