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

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



$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-omap" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at  http://vger.kernel.org/majordomo-info.html


[Index of Archives]     [Linux Arm (vger)]     [ARM Kernel]     [ARM MSM]     [Linux Tegra]     [Linux WPAN Networking]     [Linux Wireless Networking]     [Maemo Users]     [Linux USB Devel]     [Video for Linux]     [Linux Audio Users]     [Yosemite Trails]     [Linux Kernel]     [Linux SCSI]

  Powered by Linux