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 Shevchenk

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 inserti

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: A

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 fil