linux/arch/arm/plat-omap
Chen Gang e78f96060f ARM: OMAP: Fix the use of uninitialized dma_lch_count
'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 will be failed for omap_dma_reserve_channels, when 1st call.

  so, need use 'd->lch_count' instead of 'dma_lch_count' for judging.

Signed-off-by: Chen Gang <gang.chen@asianux.com>
Signed-off-by: Santosh Shilimkar <santosh.shilimkar@ti.com>
Signed-off-by: Tony Lindgren <tony@atomide.com>
2013-02-01 14:39:54 -08:00
..
include/plat ARM: arm-soc: late cleanups for omap 2012-12-30 09:59:21 -08:00
counter_32k.c ARM: OMAP: 32k counter: resolve sparse warnings 2012-12-28 02:09:01 -07:00
debug-leds.c ARM: OMAP: debug-leds: Use resource_size instead of hard coded macro 2012-11-12 13:28:28 -08:00
dma.c ARM: OMAP: Fix the use of uninitialized dma_lch_count 2013-02-01 14:39:54 -08:00
dmtimer.c ARM: drivers: remove __dev* attributes. 2013-01-03 15:57:04 -08:00
i2c.c Revert "ARM: OMAP: convert I2C driver to PM QoS for MPU latency constraints" 2012-11-14 11:54:41 +01:00
Kconfig ARM: OMAP2+: timer: remove CONFIG_OMAP_32K_TIMER 2012-11-21 10:15:59 -08:00
mailbox.c workqueue: deprecate flush[_delayed]_work_sync() 2012-08-20 14:51:24 -07:00
Makefile ARM: arm-soc: late cleanups for omap 2012-12-30 09:59:21 -08:00
sram.c ARM: OMAP: SRAM: resolve sparse warnings 2013-01-01 15:42:00 -07:00