summaryrefslogtreecommitdiffstats
path: root/drivers/media/i2c/tw2804.c
diff options
context:
space:
mode:
authorKieran Bingham2017-08-03 15:50:23 +0200
committerMauro Carvalho Chehab2017-12-08 16:03:00 +0100
commitb0fe777884f5cebc46427f63bc9df1a78bfab1a1 (patch)
tree52212206c1e988c57f8f10399934a8dab69c4aff /drivers/media/i2c/tw2804.c
parentmedia: v4l: mt9v032: Disable clock on error paths (diff)
downloadkernel-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