summaryrefslogtreecommitdiff
path: root/drivers/spi/tegra20_slink.c
diff options
context:
space:
mode:
authorHeinrich Schuchardt <xypron.glpk@gmx.de>2018-03-18 12:41:43 +0100
committerJagan Teki <jagan@amarulasolutions.com>2018-05-16 19:18:41 +0530
commit8fad5e0b114fdd4c4e8d5f105ea3527df2c83986 (patch)
tree629170d1614804b65e18f73a0de9457b0a93964d /drivers/spi/tegra20_slink.c
parent4eaa2fa16968359ffcf207e63848ed7f3a6e4309 (diff)
spi: atcspi200: avoid NULL dereference
For SPI_XFER_BEGIN | SPI_XFER_END the code sets data_out = NULL. In the debug statement we should not dereference this value. As we do not transfer any data the debug statement is not needed in this case anyway. Signed-off-by: Heinrich Schuchardt <xypron.glpk@gmx.de> Reviewed-by: Jagan Teki <jagan@openedev.com>
Diffstat (limited to 'drivers/spi/tegra20_slink.c')
0 files changed, 0 insertions, 0 deletions