summaryrefslogtreecommitdiffstats
path: root/net/can/af_can.c
diff options
context:
space:
mode:
authorAlexander Stein <alexander.stein@systec-electronic.com>2014-02-26 16:31:19 +0100
committerMark Brown <broonie@linaro.org>2014-02-27 13:37:10 +0900
commit7995d74ab297e4f5526c8df70007e1e39f0d1f5c (patch)
tree88238f2de99a43fc1ac43f3811145712cc7d3c49 /net/can/af_can.c
parent7611c7a5613f20ec2fb536c1d868d15045730bc0 (diff)
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 'net/can/af_can.c')
0 files changed, 0 insertions, 0 deletions