commit | 0a6d38795a405c49ea0012f04173613382def58c | [log] [tgz] |
---|---|---|
author | Axel Lin <axel.lin@ingics.com> | Wed Apr 02 22:21:04 2014 +0800 |
committer | Mark Brown <broonie@linaro.org> | Thu Apr 03 11:13:38 2014 +0100 |
tree | 41cca48cd41bdf3c9034b8f59ff5f4079f9bdaf2 | |
parent | 455c6fdbd219161bd09b1165f11699d6d73de11c [diff] |
spi: Always check complete callback before calling it Since commit 1e25cd4729bd "spi: Do not require a completion", this checking is required to prevent NULL pointer dereference. Signed-off-by: Axel Lin <axel.lin@ingics.com> Signed-off-by: Mark Brown <broonie@linaro.org>