]> git.karo-electronics.de Git - karo-tx-linux.git/commit
pch_dma: Use GFP_ATOMIC because called from interrupt context
authorTomoya MORINAGA <tomoya.rohm@gmail.com>
Tue, 12 Feb 2013 02:25:33 +0000 (11:25 +0900)
committerVinod Koul <vinod.koul@intel.com>
Mon, 4 Mar 2013 04:58:01 +0000 (10:28 +0530)
commit4900b1396a629fa3e2c4e154d592e430dec3c804
tree80c92fa08b75b5d7e9f23bb98eb3db83c1524c3c
parent76d1109b1355f9a7a81f07d6248b08eee3ee9386
pch_dma: Use GFP_ATOMIC because called from interrupt context

pdc_desc_get() is called from pd_prep_slave_sg, and the function is
called from interrupt context(e.g. Uart driver "pch_uart.c").
In fact, I saw kernel error message.
So, GFP_ATOMIC must be used not GFP_NOIO.

Signed-off-by: Tomoya MORINAGA <tomoya.rohm@gmail.com>
Signed-off-by: Vinod Koul <vinod.koul@intel.com>
drivers/dma/pch_dma.c