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, 15 Apr 2013 04:21:16 +0000 (09:51 +0530)
commit5c1ef59168c485318e40ba485c1eba57d81d0faa
tree2faba4d657e7cb9df6d85332a55c5659a01a620e
parent30fb980b99d3896bd891e56fec22191d40007efc
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