summaryrefslogtreecommitdiff
path: root/drivers/spi/spi-tegra114.c
diff options
context:
space:
mode:
authorVladimir Oltean <vladimir.oltean@nxp.com>2020-03-18 02:15:58 +0200
committerMark Brown <broonie@kernel.org>2020-03-18 22:44:58 +0000
commit3d6224e63be39ff26cf416492cb3923cd3d07dd0 (patch)
tree9c8f60902b665a1def49b827ff59871c3910dd4d /drivers/spi/spi-tegra114.c
parent4f5ee75ea1718a09149460b3df993f389a67b56a (diff)
spi: spi-fsl-dspi: Avoid NULL pointer in dspi_slave_abort for non-DMA mode
The driver does not create the dspi->dma structure unless operating in DSPI_DMA_MODE, so it makes sense to check for that. Fixes: f4b323905d8b ("spi: Introduce dspi_slave_abort() function for NXP's dspi SPI driver") Signed-off-by: Vladimir Oltean <vladimir.oltean@nxp.com> Tested-by: Michael Walle <michael@walle.cc> Link: https://lore.kernel.org/r/20200318001603.9650-8-olteanv@gmail.com Signed-off-by: Mark Brown <broonie@kernel.org>
Diffstat (limited to 'drivers/spi/spi-tegra114.c')
0 files changed, 0 insertions, 0 deletions