[0/4] via-camera/ov7670: various fixes/improvements

Message ID 20190717090345.26521-1-hverkuil-cisco@xs4all.nl (mailing list archive)
Headers
Series via-camera/ov7670: various fixes/improvements |

Message

Hans Verkuil July 17, 2019, 9:03 a.m. UTC
The main purpose of this series was to make via-camera use struct v4l2_fh,
since it was one of the few drivers that didn't use that struct.

While testing I found a bunch of other issues with this driver and the
ov7670 driver, which are also fixed.

The next step will be to convert this driver to use vb2, but that's
still work in progress.

This series has been tested on an OLPC 1.5 laptop.

Regards,

	Hans

Hans Verkuil (4):
  via-camera: call viafb_pm_unregister in remove()
  via-camera: use struct v4l2_fh
  ov7670: don't return ENOTTY if SUBDEV_API is not set
  via-camera: fix v4l2-compliance fails

 drivers/media/i2c/ov7670.c          |  6 +-
 drivers/media/platform/via-camera.c | 94 +++++++++++++++++------------
 2 files changed, 58 insertions(+), 42 deletions(-)