diff options
| author | Akinobu Mita <[email protected]> | 2018-05-06 10:19:27 -0400 |
|---|---|---|
| committer | Mauro Carvalho Chehab <[email protected]> | 2018-06-28 09:17:59 -0400 |
| commit | 95f5a45aea8800e011698fef1c4f535e9afb374a (patch) | |
| tree | 50dfd527f1ca890b5f6066e69794a60dbfeb4763 /tools/perf/scripts/python | |
| parent | 09e620c6af57ecc94411895eec78c5799a6e2a8d (diff) | |
media: ov772x: avoid accessing registers under power saving mode
The set_fmt() in subdev pad ops, the s_ctrl() for subdev control handler,
and the s_frame_interval() in subdev video ops could be called when the
device is under power saving mode. These callbacks for ov772x driver
cause updating H/W registers that will fail under power saving mode.
This avoids it by not apply any changes to H/W if the device is not powered
up. Instead the changes will be restored right after power-up.
Cc: Laurent Pinchart <[email protected]>
Cc: Hans Verkuil <[email protected]>
Signed-off-by: Akinobu Mita <[email protected]>
Reviewed-by: Jacopo Mondi <[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