diff options
| author | 2018-05-06 10:19:27 -0400 | |
|---|---|---|
| committer | 2018-06-28 09:17:59 -0400 | |
| commit | 95f5a45aea8800e011698fef1c4f535e9afb374a (patch) | |
| tree | 50dfd527f1ca890b5f6066e69794a60dbfeb4763 /tools/perf/scripts/python/bin/stackcollapse-report | |
| parent | media: ov772x: use v4l2_ctrl to get current control value (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 <laurent.pinchart@ideasonboard.com>
Cc: Hans Verkuil <hans.verkuil@cisco.com>
Signed-off-by: Akinobu Mita <akinobu.mita@gmail.com>
Reviewed-by: Jacopo Mondi <jacopo+renesas@jmondi.org>
Signed-off-by: Sakari Ailus <sakari.ailus@linux.intel.com>
Signed-off-by: Mauro Carvalho Chehab <mchehab+samsung@kernel.org>
Diffstat (limited to 'tools/perf/scripts/python/bin/stackcollapse-report')
0 files changed, 0 insertions, 0 deletions
