mbox series

[0/5] media: video-i2c: support changing frame interval and runtime PM

Message ID 1537200191-17956-1-git-send-email-akinobu.mita@gmail.com (mailing list archive)
Headers show
Series media: video-i2c: support changing frame interval and runtime PM | expand

Message

Akinobu Mita Sept. 17, 2018, 4:03 p.m. UTC
This patchset adds support for changing frame interval and runtime PM for
video-i2c driver.  This also adds an helper function to v4l2 common
internal API that is used to to find a suitable frame interval.

There are a couple of unrelated changes that are included for simplifying
driver initialization code and register accesses.

Akinobu Mita (5):
  media: video-i2c: avoid accessing released memory area when removing
    driver
  media: video-i2c: use i2c regmap
  media: v4l2-common: add v4l2_find_closest_fract()
  media: video-i2c: support changing frame interval
  media: video-i2c: support runtime PM

 drivers/media/i2c/video-i2c.c         | 276 ++++++++++++++++++++++++++++------
 drivers/media/v4l2-core/v4l2-common.c |  26 ++++
 include/media/v4l2-common.h           |  12 ++
 3 files changed, 267 insertions(+), 47 deletions(-)

Cc: Matt Ranostay <matt.ranostay@konsulko.com>
Cc: Sakari Ailus <sakari.ailus@linux.intel.com>
Cc: Hans Verkuil <hansverk@cisco.com>
Cc: Mauro Carvalho Chehab <mchehab@kernel.org>