aboutsummaryrefslogtreecommitdiff
path: root/include/linux/fpga/fpga-mgr.h
diff options
context:
space:
mode:
authorChen Gang <[email protected]>2013-01-11 13:39:18 +0800
committerTony Lindgren <[email protected]>2013-02-01 14:39:54 -0800
commite78f96060fff8545d21360cfa5590e266a595bb9 (patch)
tree5928ad7afb84bae54dbeb911594252431d7b299e /include/linux/fpga/fpga-mgr.h
parentaecb9e1422e904d1950620d90c589a141cb32196 (diff)
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 <[email protected]> Signed-off-by: Santosh Shilimkar <[email protected]> Signed-off-by: Tony Lindgren <[email protected]>
Diffstat (limited to 'include/linux/fpga/fpga-mgr.h')
0 files changed, 0 insertions, 0 deletions