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: NAxel Lin <axel.lin@ingics.com> Signed-off-by: NMark Brown <broonie@linaro.org>
Showing
想要评论请 注册 或 登录