media: ov772x: reconstruct s_frame_interval()
authorAkinobu Mita <akinobu.mita@gmail.com>
Sun, 6 May 2018 14:19:25 +0000 (10:19 -0400)
committerMauro Carvalho Chehab <mchehab+samsung@kernel.org>
Thu, 28 Jun 2018 13:15:51 +0000 (09:15 -0400)
commit80dc2a49ba040b3ce09c13d5a7be1799bc75a166
treef816e9e5193ba16a67ae92a5c376ce0ced1c0099
parent34af7d920b766ffa582231ff3ce526d0c6179cd0
media: ov772x: reconstruct s_frame_interval()

This splits the s_frame_interval() in subdev video ops into selecting the
frame interval and setting up the registers.

This is a preparatory change to avoid accessing registers under power
saving mode.

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>
drivers/media/i2c/ov772x.c