Re: [PATCH] ARM: OMAP: Fix the use of uninitialized dma_lch_count

2013-02-01 Thread Tony Lindgren
* Santosh Shilimkar [130111 03:40]: > On Friday 11 January 2013 11:09 AM, Chen Gang wrote: > > > > 'omap_dma_reserve_channels' when used is suppose to be from command. > > so, it alreay has value before 1st call of omap_system_dma_probe. > > and it will never be changed again during runn

Re: [PATCH] ARM: OMAP: Fix the use of uninitialized dma_lch_count

2013-01-11 Thread Santosh Shilimkar
On Friday 11 January 2013 11:09 AM, Chen Gang wrote: 'omap_dma_reserve_channels' when used is suppose to be from command. so, it alreay has value before 1st call of omap_system_dma_probe. and it will never be changed again during running (not from ioctl). but 'dma_lch_count' is

[PATCH] ARM: OMAP: Fix the use of uninitialized dma_lch_count

2013-01-10 Thread Chen Gang
'omap_dma_reserve_channels' when used is suppose to be from command. so, it alreay has value before 1st call of omap_system_dma_probe. and it will never be changed again during running (not from ioctl). but 'dma_lch_count' is zero before 1st call of omap_system_dma_probe. so it wi