Message ID | 20141223132605.02d81e01@canb.auug.org.au (mailing list archive) |
---|---|
State | New, archived |
Headers | show |
On Mon, Dec 22, 2014 at 6:26 PM, Stephen Rothwell <sfr@canb.auug.org.au> wrote: > Hi Linus, > > I have been carrying this merge fix patch for some time that is now > needed in your tree: No, it's not. Look more closely. My merge put the dev->archdata.dma_coherent = coherent; line at the top of the function, like the way it was in the original commit. Linus
Hi Linus, On Mon, 22 Dec 2014 20:09:50 -0800 Linus Torvalds <torvalds@linux-foundation.org> wrote: > > On Mon, Dec 22, 2014 at 6:26 PM, Stephen Rothwell <sfr@canb.auug.org.au> wrote: > > Hi Linus, > > > > I have been carrying this merge fix patch for some time that is now > > needed in your tree: > > No, it's not. Look more closely. > > My merge put the > > dev->archdata.dma_coherent = coherent; > > line at the top of the function, like the way it was in the original commit. Oops, sorry about that.
diff --git a/arch/arm/mm/dma-mapping.c b/arch/arm/mm/dma-mapping.c index 09645f00bd17..43064cbe58f9 100644 --- a/arch/arm/mm/dma-mapping.c +++ b/arch/arm/mm/dma-mapping.c @@ -2058,6 +2058,7 @@ void arch_setup_dma_ops(struct device *dev, u64 dma_base, u64 size, else dma_ops = arm_get_dma_map_ops(coherent); + dev->archdata.dma_coherent = coherent; set_dma_ops(dev, dma_ops); }