commit | ea98491133439773b69345eb9a314fc5f15e07a4 | [log] [tgz] |
---|---|---|
author | Shawn Lin <shawn.lin@rock-chips.com> | Wed Mar 09 16:11:15 2016 +0800 |
committer | Mark Brown <broonie@kernel.org> | Wed Mar 09 16:10:18 2016 +0700 |
tree | 17a8d78602a10a7bc664eaf7bc20dee6a3cbadb1 | |
parent | 0277e01aebc8895198a4717ccaf7e4fcf39ada78 [diff] |
spi: rockchip: check return value of dmaengine_prep_slave_sg We should check return value of dmaengine_prep_slave_sg, otherwise we take risk of null pointer. Signed-off-by: Shawn Lin <shawn.lin@rock-chips.com> Signed-off-by: Mark Brown <broonie@kernel.org>