diff options
author | Alexander Stein <alexander.stein@systec-electronic.com> | 2014-02-26 16:31:19 +0100 |
---|---|---|
committer | Mark Brown <broonie@linaro.org> | 2014-02-27 13:37:10 +0900 |
commit | 7995d74ab297e4f5526c8df70007e1e39f0d1f5c (patch) | |
tree | 88238f2de99a43fc1ac43f3811145712cc7d3c49 /README | |
parent | 7611c7a5613f20ec2fb536c1d868d15045730bc0 (diff) | |
download | linux-7995d74ab297e4f5526c8df70007e1e39f0d1f5c.tar.bz2 |
spi-topcliff-pch: Fix probing when DMA mode is used
If during registering SPI master due to SPI device probing a SPI transfer
is issued the DMA buffers are not allocated yet.
This fixes the following oops:
pch_spi 0000:02:0c.1: enabling device (0000 -> 0002)
pch_spi 0000:02:0c.1: master is unqueued, this is deprecated
BUG: unable to handle kernel NULL pointer dereference at (null)
IP: [<c125aa05>] pch_spi_handle_dma+0x15c/0x6f4
[...]
Signed-off-by: Alexander Stein <alexander.stein@systec-electronic.com>
Signed-off-by: Mark Brown <broonie@linaro.org>
Diffstat (limited to 'README')
0 files changed, 0 insertions, 0 deletions