From: Viresh Kumar Date: Wed, 10 Aug 2011 08:50:55 +0000 (+0530) Subject: spi/spi-pl022: Use GFP_ATOMIC for allocation from tasklet X-Git-Tag: v3.2-rc1~123^2~10 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=538a18dc189ef5d0b87c987d8460515b5e2e8588;p=pandora-kernel.git spi/spi-pl022: Use GFP_ATOMIC for allocation from tasklet tasklets don't allow invocation to sleeping routines. In configure_dma() routine, sg_alloc_table() was called with GFP_KERNEL flag and so this causes crash when called from tasklet. Replace GFP_KERNEL with GFP_ATOMIC to get this fixed. Signed-off-by: Viresh Kumar Tested-by: Linus Walleij Signed-off-by: Grant Likely --- Reading git-diff-tree failed