diff options
| author | Hans de Goede <[email protected]> | 2023-08-03 11:33:28 +0200 |
|---|---|---|
| committer | Mauro Carvalho Chehab <[email protected]> | 2023-08-14 20:27:56 +0200 |
| commit | 37f7e57e089e26569ca11859e36c27818e7a1506 (patch) | |
| tree | cd0cdb41776fb4b41c84490a9acb230ada1fd3e2 /tools/perf/scripts/python/bin | |
| parent | e9305a23901c60351531ca8c65612a290b88e8e9 (diff) | |
media: ov2680: Drop is_enabled flag
With runtime-pm it is guaranteed that ov2680_power_on() and
ov2680_power_off() will always be called in a balanced way;
and the is_enabled check in ov2680_s_ctrl() can be replaced
by checking the runtime-suspend state.
So there is no more need for the is_enabled flag, remove it.
While at it also make sure that flip control changes while
suspended still lead to the bayer-order getting updated so
that get_fmt returns the correct bayer-order.
Acked-by: Rui Miguel Silva <[email protected]>
Reviewed-by: Daniel Scally <[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/bin')
0 files changed, 0 insertions, 0 deletions