Re: [PATCH] dw_dmac: apply default dma_mask if needed

2013-02-12 Thread Andy Shevchenko
On Tue, Feb 12, 2013 at 6:16 PM, Vinod Koul wrote: > On Tue, Jan 29, 2013 at 05:06:24PM +0200, Andy Shevchenko wrote: >> In some cases we got the device without dma_mask configured. We have to apply >> the default value to avoid crashes during memory mapping. >> > what was this generated against,

Re: [PATCH] dw_dmac: apply default dma_mask if needed

2013-02-12 Thread Vinod Koul
On Tue, Jan 29, 2013 at 05:06:24PM +0200, Andy Shevchenko wrote: > In some cases we got the device without dma_mask configured. We have to apply > the default value to avoid crashes during memory mapping. > what was this generated against, it fails to apply for me. > Signed-off-by: Andy

Re: [PATCH] dw_dmac: apply default dma_mask if needed

2013-02-12 Thread Vinod Koul
On Tue, Jan 29, 2013 at 05:06:24PM +0200, Andy Shevchenko wrote: In some cases we got the device without dma_mask configured. We have to apply the default value to avoid crashes during memory mapping. what was this generated against, it fails to apply for me. Signed-off-by: Andy Shevchenko

Re: [PATCH] dw_dmac: apply default dma_mask if needed

2013-02-12 Thread Andy Shevchenko
On Tue, Feb 12, 2013 at 6:16 PM, Vinod Koul vinod.k...@intel.com wrote: On Tue, Jan 29, 2013 at 05:06:24PM +0200, Andy Shevchenko wrote: In some cases we got the device without dma_mask configured. We have to apply the default value to avoid crashes during memory mapping. what was this

Re: [PATCH] dw_dmac: apply default dma_mask if needed

2013-01-29 Thread Viresh Kumar
On 29 January 2013 20:36, Andy Shevchenko wrote: > In some cases we got the device without dma_mask configured. We have to apply > the default value to avoid crashes during memory mapping. > > Signed-off-by: Andy Shevchenko > --- > drivers/dma/dw_dmac.c |6 ++ > 1 file changed, 6

Re: [PATCH] dw_dmac: apply default dma_mask if needed

2013-01-29 Thread Arnd Bergmann
On Tuesday 29 January 2013, Viresh Kumar wrote: > Adding Arnd in cc. > > On 29 January 2013 20:36, Andy Shevchenko > wrote: > > In some cases we got the device without dma_mask configured. We have to > > apply > > the default value to avoid crashes during memory mapping. > > > > Signed-off-by:

Re: [PATCH] dw_dmac: apply default dma_mask if needed

2013-01-29 Thread Viresh Kumar
Adding Arnd in cc. On 29 January 2013 20:36, Andy Shevchenko wrote: > In some cases we got the device without dma_mask configured. We have to apply > the default value to avoid crashes during memory mapping. > > Signed-off-by: Andy Shevchenko > --- > drivers/dma/dw_dmac.c |6 ++ > 1

[PATCH] dw_dmac: apply default dma_mask if needed

2013-01-29 Thread Andy Shevchenko
In some cases we got the device without dma_mask configured. We have to apply the default value to avoid crashes during memory mapping. Signed-off-by: Andy Shevchenko --- drivers/dma/dw_dmac.c |6 ++ 1 file changed, 6 insertions(+) diff --git a/drivers/dma/dw_dmac.c

[PATCH] dw_dmac: apply default dma_mask if needed

2013-01-29 Thread Andy Shevchenko
In some cases we got the device without dma_mask configured. We have to apply the default value to avoid crashes during memory mapping. Signed-off-by: Andy Shevchenko andriy.shevche...@linux.intel.com --- drivers/dma/dw_dmac.c |6 ++ 1 file changed, 6 insertions(+) diff --git

Re: [PATCH] dw_dmac: apply default dma_mask if needed

2013-01-29 Thread Viresh Kumar
Adding Arnd in cc. On 29 January 2013 20:36, Andy Shevchenko andriy.shevche...@linux.intel.com wrote: In some cases we got the device without dma_mask configured. We have to apply the default value to avoid crashes during memory mapping. Signed-off-by: Andy Shevchenko

Re: [PATCH] dw_dmac: apply default dma_mask if needed

2013-01-29 Thread Arnd Bergmann
On Tuesday 29 January 2013, Viresh Kumar wrote: Adding Arnd in cc. On 29 January 2013 20:36, Andy Shevchenko andriy.shevche...@linux.intel.com wrote: In some cases we got the device without dma_mask configured. We have to apply the default value to avoid crashes during memory mapping.

Re: [PATCH] dw_dmac: apply default dma_mask if needed

2013-01-29 Thread Viresh Kumar
On 29 January 2013 20:36, Andy Shevchenko andriy.shevche...@linux.intel.com wrote: In some cases we got the device without dma_mask configured. We have to apply the default value to avoid crashes during memory mapping. Signed-off-by: Andy Shevchenko andriy.shevche...@linux.intel.com ---