diff options
author | Aditya Pakki <pakki001@umn.edu> | 2019-03-13 11:55:41 -0500 |
---|---|---|
committer | Mark Brown <broonie@kernel.org> | 2019-03-18 12:14:33 +0000 |
commit | f37d8e67f39e6d3eaf4cc5471e8a3d21209843c6 (patch) | |
tree | 367d73e7d36b666b95a8ff0251d08a9a85a09e6e /drivers/slimbus | |
parent | 5356c2c70e385198e1a753ee364323f2fc01f759 (diff) | |
download | linux-f37d8e67f39e6d3eaf4cc5471e8a3d21209843c6.tar.gz |
spi : spi-topcliff-pch: Fix to handle empty DMA buffers
pch_alloc_dma_buf allocated tx, rx DMA buffers which can fail. Further,
these buffers are used without a check. The patch checks for these
failures and sends the error upstream.
Signed-off-by: Aditya Pakki <pakki001@umn.edu>
Signed-off-by: Mark Brown <broonie@kernel.org>
Diffstat (limited to 'drivers/slimbus')
0 files changed, 0 insertions, 0 deletions