android_kernel_motorola_sm6225/drivers/media/video/m5mols
Sylwester Nawrocki fbe78ddde1 [media] m5mols: Fix set_fmt to return proper pixel format code
In case pixel format is modified in set_fmt by the driver,
the changes are not propagated back to the caller. Fix this
by adjusting passed  data for TRY and ACTIVE format.

Also remove redundant pixel format code information from
struct m5mols_info, it's already available in 'ffmt' array.
Remove pad number validation in set/get_fmt, this is already
done in the core.

Signed-off-by: Sylwester Nawrocki <s.nawrocki@samsung.com>
Acked-by: HeungJun Kim <riverful.kim@samsung.com>
Signed-off-by: Kyungmin Park <kyungmin.park@samsung.com>
Signed-off-by: Mauro Carvalho Chehab <mchehab@redhat.com>
2011-11-24 21:03:54 -02:00
..
Kconfig [media] Add support for M-5MOLS 8 Mega Pixel camera ISP 2011-05-25 07:51:18 -03:00
m5mols.h [media] m5mols: Fix set_fmt to return proper pixel format code 2011-11-24 21:03:54 -02:00
m5mols_capture.c [media] Stop using linux/version.h on the remaining video drivers 2011-07-27 17:53:16 -03:00
m5mols_controls.c [media] m5mols: Use proper email address format 2011-06-11 09:46:00 -03:00
m5mols_core.c [media] m5mols: Fix set_fmt to return proper pixel format code 2011-11-24 21:03:54 -02:00
m5mols_reg.h [media] m5mols: Use proper email address format 2011-06-11 09:46:00 -03:00
Makefile [media] Add support for M-5MOLS 8 Mega Pixel camera ISP 2011-05-25 07:51:18 -03:00