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>
Wed, 14 Dec 2016 04:50:49 +0000 (13:50 +0900)
commitced9d08d506ed40b2ca17ba3a3a99a6a2a72f8ae
tree6191eacc6c981e4068bf9dfcb977901f66c8b386
parent53f45d84eec9b60d08e76138c1623a46b7817fbe
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