Skip to content
Commit 0a6d3879 authored by Axel Lin's avatar Axel Lin Committed by Mark Brown
Browse files

spi: Always check complete callback before calling it

Since commit 1e25cd47

 "spi: Do not require a completion", this checking is
required to prevent NULL pointer dereference.

Signed-off-by: default avatarAxel Lin <axel.lin@ingics.com>
Signed-off-by: default avatarMark Brown <broonie@linaro.org>
parent 455c6fdb
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment