]> git.ipfire.org Git - people/arne_f/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)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Thu, 27 Jun 2013 17:39:23 +0000 (10:39 -0700)
commit4666d3e5fb1a1f7b5eefb4e0fe2f8bbe4e59236a
tree39aac06db95e873ae1dcd0ee76db560115aab1be
parent5a622ab9bca8e5b2882025f7041d72a25cf70c23
spi/pxa2xx: use GFP_ATOMIC in sg table allocation

commit 5548f98c46538d1da04eff179a52e50537d11465 upstream.

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>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
drivers/spi/spi-pxa2xx-dma.c