summaryrefslogtreecommitdiff
path: root/drivers/power/jz4740-battery.c
diff options
context:
space:
mode:
authorJunichi Nomura <j-nomura@ce.jp.nec.com>2015-09-14 10:38:36 +0300
committerThomas Gleixner <tglx@linutronix.de>2015-09-17 17:22:11 +0300
commit590f07874e8e3c83729b919312c65aea2533c8cf (patch)
treee79e7338f0f3186d386ee5f4cae3c13636354795 /drivers/power/jz4740-battery.c
parent6ff33f3902c3b1c5d0db6b1e2c70b6d76fba357f (diff)
downloadlinux-590f07874e8e3c83729b919312c65aea2533c8cf.tar.xz
x86/pci/dma: Fix gfp flags for coherent DMA memory allocation
Commit 6894258eda2f reversed the order of gfp_flags adjustment in dma_alloc_attrs() for x86 [arch/x86/kernel/pci-dma.c] As a result, relevant flags set by dma_alloc_coherent_gfp_flags() are just discarded and cause coherent DMA memory allocation failure on some devices. Fixes: 6894258eda2f ("dma-mapping: consolidate dma_{alloc,free}_{attrs,coherent}") Signed-off-by: Jun'ichi Nomura <j-nomura@ce.jp.nec.com> Tested-by: Tony Luck <tony.luck@intel.com> Acked-by: Christoph Hellwig <hch@lst.de> Link: http://lkml.kernel.org/r/20150914073834.GA13077@xzibit.linux.bs1.fc.nec.co.jp Signed-off-by: Thomas Gleixner <tglx@linutronix.de>
Diffstat (limited to 'drivers/power/jz4740-battery.c')
0 files changed, 0 insertions, 0 deletions