diff options
| author | Hans de Goede <[email protected]> | 2023-08-03 11:33:18 +0200 |
|---|---|---|
| committer | Mauro Carvalho Chehab <[email protected]> | 2023-08-14 20:27:55 +0200 |
| commit | d5d08ad330c9ccebc5e066fda815423a290f48b0 (patch) | |
| tree | 26e324480c55e4714032a16986cd9de94b80bfec /tools/perf/scripts/python | |
| parent | 50a7bad4e0a37d7018ab6fe843dd84bc6b2ecf72 (diff) | |
media: ov2680: Fix vflip / hflip set functions
ov2680_vflip_disable() / ov2680_hflip_disable() pass BIT(0) instead of
0 as value to ov2680_mod_reg().
While fixing this also:
1. Stop having separate enable/disable functions for hflip / vflip
2. Move the is_streaming check, which is unique to hflip / vflip
into the ov2680_set_?flip() functions.
for a nice code cleanup.
Fixes: 3ee47cad3e69 ("media: ov2680: Add Omnivision OV2680 sensor driver")
Reviewed-by: Daniel Scally <[email protected]>
Acked-by: Rui Miguel Silva <[email protected]>
Signed-off-by: Hans de Goede <[email protected]>
Signed-off-by: Sakari Ailus <[email protected]>
Signed-off-by: Mauro Carvalho Chehab <[email protected]>
Diffstat (limited to 'tools/perf/scripts/python')
0 files changed, 0 insertions, 0 deletions