media: i2c: imx477: Reset hblank on mode switch
authorNaushir Patuck <naush@raspberrypi.com>
Wed, 5 Oct 2022 08:47:00 +0000 (09:47 +0100)
committerPhil Elwell <8911409+pelwell@users.noreply.github.com>
Wed, 5 Oct 2022 15:38:30 +0000 (16:38 +0100)
commitd90c1eee27b5615f69f6d1085b135eca4520240e
tree98b61026997cd8ffa37a740faed9090c27c08b2b
parent3b98eb7a4aeaecd5274108dc1be7a5df94253500
media: i2c: imx477: Reset hblank on mode switch

Reset the hblank control to the minimum value on every mode switch. This is to
account for userland instances that do not yet control hblank, otherwise it
gets set to a non-optimal value.

Signed-off-by: Naushir Patuck <naush@raspberrypi.com>
drivers/media/i2c/imx477.c