Skip to content
Unverified Commit f37d8e67 authored by Aditya Pakki's avatar Aditya Pakki Committed by Mark Brown
Browse files

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: default avatarAditya Pakki <pakki001@umn.edu>
Signed-off-by: default avatarMark Brown <broonie@kernel.org>
parent 5356c2c7
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