drm/exynos: fimc: fix wrong buf_id access for dma channel
authorSeung-Woo Kim <sw0312.kim@samsung.com>
Mon, 31 Aug 2015 03:07:55 +0000 (12:07 +0900)
committerSeung-Woo Kim <sw0312.kim@samsung.com>
Thu, 31 Mar 2016 07:59:34 +0000 (16:59 +0900)
commit18f07470b1f48426323ece614f579b0711ae7d54
tree8390ca36b474f68fb3d632823c5114629bc09715
parent64959d2ae643173d2222cad0e63f012241ac074c
drm/exynos: fimc: fix wrong buf_id access for dma channel

For destination buffers, buf_id is valid only less than maximum
dest buffer count. So this patch fixes wrong buf_id access to
dma_channel.

Change-Id: I4c73ab90a2fc8e57ecb82f277d3d53c2e91b910a
Signed-off-by: Seung-Woo Kim <sw0312.kim@samsung.com>
drivers/gpu/drm/exynos/exynos_drm_fimc.c