commit | 8fad5e0b114fdd4c4e8d5f105ea3527df2c83986 | [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 | 4eaa2fa16968359ffcf207e63848ed7f3a6e4309 [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>