Skip to content
Commit 8fad5e0b authored by Heinrich Schuchardt's avatar Heinrich Schuchardt Committed by Jagan Teki
Browse files

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: default avatarHeinrich Schuchardt <xypron.glpk@gmx.de>
Reviewed-by: default avatarJagan Teki <jagan@openedev.com>
parent 4eaa2fa1
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment