Re: [PATCH] mfd: inherit coherent_dma_mask from parent device

2014-09-24 Thread Lee Jones
On Mon, 22 Sep 2014, Boris BREZILLON wrote: > dma_mask and dma_parms are already inherited from the parent device but > dma_coherent_mask was left uninitialized (set to zero thanks to kzalloc). > Set sub-device coherent_dma_mask to its parent value to simplify > sub-drivers making use of dma coher

Re: [PATCH] mfd: inherit coherent_dma_mask from parent device

2014-09-22 Thread Boris BREZILLON
Hi Arnd, On Mon, 22 Sep 2014 21:45:40 +0200 Arnd Bergmann wrote: > On Monday 22 September 2014 21:37:55 Boris BREZILLON wrote: > > dma_mask and dma_parms are already inherited from the parent device but > > dma_coherent_mask was left uninitialized (set to zero thanks to kzalloc). > > Set sub-dev

Re: [PATCH] mfd: inherit coherent_dma_mask from parent device

2014-09-22 Thread Arnd Bergmann
On Monday 22 September 2014 21:37:55 Boris BREZILLON wrote: > dma_mask and dma_parms are already inherited from the parent device but > dma_coherent_mask was left uninitialized (set to zero thanks to kzalloc). > Set sub-device coherent_dma_mask to its parent value to simplify > sub-drivers making u

[PATCH] mfd: inherit coherent_dma_mask from parent device

2014-09-22 Thread Boris BREZILLON
dma_mask and dma_parms are already inherited from the parent device but dma_coherent_mask was left uninitialized (set to zero thanks to kzalloc). Set sub-device coherent_dma_mask to its parent value to simplify sub-drivers making use of dma coherent helper functions (those drivers currently have to