]> git.baikalelectronics.ru Git - kernel.git/commit
spi/pxa2xx: use GFP_ATOMIC in sg table allocation
authorMika Westerberg <mika.westerberg@linux.intel.com>
Tue, 18 Jun 2013 14:29:44 +0000 (17:29 +0300)
committerMark Brown <broonie@linaro.org>
Tue, 18 Jun 2013 18:11:04 +0000 (19:11 +0100)
commitc84a8a8e1f5c17b5bbf7b05cadf067023e941348
treef142b3a58326013fc43db8be35fe8043636181b2
parente0ae2dfc2f98c2138de5317583320ec5bee8e139
spi/pxa2xx: use GFP_ATOMIC in sg table allocation

pxa2xx_spi_map_dma_buffer() gets called in tasklet context so we can't
sleep when we allocate a new sg table. Use GFP_ATOMIC here instead.

Signed-off-by: Mika Westerberg <mika.westerberg@linux.intel.com>
Signed-off-by: Mark Brown <broonie@linaro.org>
Cc: stable@vger.kernel.org
drivers/spi/spi-pxa2xx-dma.c