[media] s5p-fimc: Use pix_mp for the color format lookup
authorSylwester Nawrocki <s.nawrocki@samsung.com>
Fri, 20 May 2011 17:02:11 +0000 (14:02 -0300)
committerMauro Carvalho Chehab <mchehab@redhat.com>
Sat, 11 Jun 2011 12:45:39 +0000 (09:45 -0300)
commitba0545e328390b9e5589c14876b3940fbe647d0c
treec0e707cb6e0850ec42cfd4c1a7464cf955ef352c
parentdbdd0dfb89ca45895f2063db8b31085cf32aa81d
[media] s5p-fimc: Use pix_mp for the color format lookup

With multi-planar formats fmt.pix_mp member of struct v4l2_format
should be used rather than fmt.pix. Fix find_fmt() function to do
the right thing.

Signed-off-by: Sylwester Nawrocki <s.nawrocki@samsung.com>
Signed-off-by: Kyungmin Park <kyungmin.park@samsung.com>
Signed-off-by: Mauro Carvalho Chehab <mchehab@redhat.com>
drivers/media/video/s5p-fimc/fimc-core.c