8c4bdb63c726695f parent 9c56cbf9aadff79c25ccd424ae422971efd5c1a4 author Michael Grzeschik 1310485145 -0300 committer Mauro Carvalho Chehab 1311800170 -0300 [media] V4L: mt9m111: rewrite set_pixfmt added new bit offset defines, more supported BE colour formats and also support BGR565 swapped pixel formats removed pixfmt helper functions and option flags setting the configuration register directly in set_pixfmt added reg_mask function reg_mask is basically the same as clearing & setting registers, but it is more convenient and faster (saves one rw cycle). Signed-off-by: Michael Grzeschik Signed-off-by: Philipp Wiesner Acked-by: Robert Jarzmik [g.liakhovetski@gmx.de: remove Bayer swap, forward-port, rename macros] Signed-off-by: Guennadi Liakhovetski Signed-off-by: Mauro Carvalho Chehab ˆ{\–™