Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

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
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