diff options
author | Viresh Kumar <viresh.kumar@st.com> | 2011-08-10 10:50:55 +0200 |
---|---|---|
committer | Grant Likely <grant.likely@secretlab.ca> | 2011-09-21 17:41:47 +0200 |
commit | 538a18dc189ef5d0b87c987d8460515b5e2e8588 (patch) | |
tree | 51c5b16a938fee7e86f1448e09264dc80b7ffb63 /drivers/spi/spi-butterfly.c | |
parent | spi/spi-pl022: Resolve formatting issues (diff) | |
download | linux-538a18dc189ef5d0b87c987d8460515b5e2e8588.tar.xz linux-538a18dc189ef5d0b87c987d8460515b5e2e8588.zip |
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 <viresh.kumar@st.com>
Tested-by: Linus Walleij <linus.walleij@linaro.org>
Signed-off-by: Grant Likely <grant.likely@secretlab.ca>
Diffstat (limited to 'drivers/spi/spi-butterfly.c')
0 files changed, 0 insertions, 0 deletions