Re: [PATCH 1/1] arm :omap :DMA: fix a bug on reserving the omap SDMAchannels

From: Santosh Shilimkar
Date: Sun Dec 30 2012 - 01:24:31 EST


$subject
s/arm:omap/ARM: OMAP:

On Sunday 30 December 2012 02:13 AM, ahemaily@xxxxxxxxx wrote:
From: ahemaily <ahemaily@xxxxxxxxx>

The variable dma_lch_count used for comparison (omap_dma_reserve_channels <= dma_lch_count)
before it initialized to the value from omap_dma_dev_attr : d->lch_count.
s/it/it is

I change the place of dma_lch_count initialization to be before the comparison.

s/I change the place of dma_lch_count initialization to be before the comparison./ Initialize dma_lch_count before it is being used for comparison.

Signed-off-by: Abdelrahman Hemaily <ahemaily@xxxxxxxxx>
---
Change looks good to my eyes o.w

Acked-by: Santosh Shilimkar <santosh.shilimkar@xxxxxx>

--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/