diff options
author | Kieran Bingham | 2017-08-03 15:50:23 +0200 |
---|---|---|
committer | Mauro Carvalho Chehab | 2017-12-08 16:03:00 +0100 |
commit | b0fe777884f5cebc46427f63bc9df1a78bfab1a1 (patch) | |
tree | 52212206c1e988c57f8f10399934a8dab69c4aff /drivers/media/i2c/tw2804.c | |
parent | media: v4l: mt9v032: Disable clock on error paths (diff) | |
download | kernel-qcow2-linux-b0fe777884f5cebc46427f63bc9df1a78bfab1a1.tar.gz kernel-qcow2-linux-b0fe777884f5cebc46427f63bc9df1a78bfab1a1.tar.xz kernel-qcow2-linux-b0fe777884f5cebc46427f63bc9df1a78bfab1a1.zip |
media: i2c: adv748x: Store the pixel rate ctrl on CSI objects
The current implementation has to search the list of controls for the
pixel rate control, each time it is set. This can be optimised easily
by storing the ctrl pointer in the CSI/TX object, and referencing that
directly.
While at it, fix up a missing blank line also highlighted in review
comments.
Signed-off-by: Kieran Bingham <kieran.bingham+renesas@ideasonboard.com>
Tested-by: Niklas Söderlund <niklas.soderlund+renesas@ragnatech.se>
Acked-by: Sakari Ailus <sakari.ailus@linux.intel.com>
Signed-off-by: Hans Verkuil <hans.verkuil@cisco.com>
Signed-off-by: Mauro Carvalho Chehab <mchehab@s-opensource.com>
Diffstat (limited to 'drivers/media/i2c/tw2804.c')
0 files changed, 0 insertions, 0 deletions