[media] ov2640: select sensor register bank before applying h/v-flip settings
authorFrank Schäfer <fschaefer.oss@googlemail.com>
Sun, 23 Sep 2012 20:16:34 +0000 (17:16 -0300)
committerMauro Carvalho Chehab <mchehab@redhat.com>
Sat, 6 Oct 2012 12:21:27 +0000 (09:21 -0300)
commita52eb6c02fa27efb5f8980312785fce1f77377e2
treeac480bf140ed7b5b96840dc98b2b5daf2f673097
parentab99cb18ae5cbb93f650ba7bc305aae6155da880
[media] ov2640: select sensor register bank before applying h/v-flip settings

We currently don't select the register bank in ov2640_s_ctrl, so we can end up
writing to DSP register 0x04 instead of sensor register 0x04.
This happens for example when calling ov2640_s_ctrl after ov2640_s_fmt.

Signed-off-by: Frank Schäfer <fschaefer.oss@googlemail.com>
Signed-off-by: Guennadi Liakhovetski <g.liakhovetski@gmx.de>
Signed-off-by: Mauro Carvalho Chehab <mchehab@redhat.com>
drivers/media/i2c/soc_camera/ov2640.c