From: Alexander Stein Date: Wed, 26 Feb 2014 15:31:19 +0000 (+0100) Subject: spi-topcliff-pch: Fix probing when DMA mode is used X-Git-Tag: v3.14-rc6~7^2^7 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=7995d74ab297e4f5526c8df70007e1e39f0d1f5c;p=pandora-kernel.git 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: [] pch_spi_handle_dma+0x15c/0x6f4 [...] Signed-off-by: Alexander Stein Signed-off-by: Mark Brown --- Reading git-diff-tree failed