drm/exynos: initialize the buf_num in vp_video_buffer
authorYoungJun Cho <yj44.cho@samsung.com>
Mon, 1 Jul 2013 04:04:12 +0000 (13:04 +0900)
committerInki Dae <inki.dae@samsung.com>
Thu, 4 Jul 2013 06:55:36 +0000 (15:55 +0900)
commit782953ece3d102ccb31df87ecfeeb96064126afb
treeb58663c215a82082746dc6254612ca3aa8a68d76
parentcbb28bb09d41872909fdbd4ba56eb1ba55146c03
drm/exynos: initialize the buf_num in vp_video_buffer

The buf_num in vp_video_buffer() should be 1 or 2, but it is not
initialized, and only set to 2 in NV12M or NV12MT cases.
So this patch initializes the buf_num with 1 as default.

Signed-off-by: YoungJun Cho <yj44.cho@samsung.com>
Signed-off-by: Seung-Woo Kim <sw0312.kim@samsung.com>
Signed-off-by: Kyungmin Park <kyungmin.park@samsung.com>
Signed-off-by: Inki Dae <inki.dae@samsung.com>
drivers/gpu/drm/exynos/exynos_mixer.c