commit | ab1643b703e24dfcd20e9bd4ac90d548e94c7ecd | [log] [tgz] |
---|---|---|
author | Heinrich Schuchardt <xypron.glpk@gmx.de> | Sun Mar 18 12:41:43 2018 +0100 |
committer | Jagan Teki <jagan@amarulasolutions.com> | Wed May 16 19:18:41 2018 +0530 |
tree | 629170d1614804b65e18f73a0de9457b0a93964d | |
parent | 32ff4e14218f0e95e491abc569a856567674773b [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>