commit | b93011e72c1476b08ff62977ecf648080ba38c1a | [log] [tgz] |
---|---|---|
author | Jassi <jassi.brar@samsung.com> | Tue Sep 15 19:01:20 2009 +0900 |
committer | Ben Dooks <ben-linux@fluff.org> | Wed Sep 16 00:50:06 2009 +0100 |
tree | 2eaa28a62f1cbfa236ec8f9583ba87e31847548e | |
parent | 3ea61e49223c499c705b80ea385cb4df9c08da21 [diff] |
ARM: S3C64XX: DMA: Debugged alloc's with GFP_KERNEL flag in Intr context. s3c2410_dma_enqueue makes call to kzalloc and dma_pool_alloc with GFP_KERNEL flag set, this can be an issue for drivers, like I2S, which call s3c2410_dma_enqueue from dma-bufferdone callback. Change the flag GFP_KERNEL to GFP_ATOMIC to avoid any problems. Signed-Off-by: Jassi <jassi.brar@samsung.com> [ben-linux@fluff.org: Minor description edit and re-wrap] Signed-off-by: Ben Dooks <ben-linux@fluff.org>