]> git.karo-electronics.de Git - linux-beck.git/commit
[media] adv7180: Add media controller support
authorLars-Peter Clausen <lars@metafoo.de>
Fri, 23 Jan 2015 15:52:26 +0000 (12:52 -0300)
committerMauro Carvalho Chehab <mchehab@osg.samsung.com>
Mon, 2 Feb 2015 13:45:35 +0000 (11:45 -0200)
commitd5d51a827bb86103d4874a864f72674b281408ac
tree083cec6e49e4a52e1309651923bc45cd44ebeeff
parentc18818e99067ea084e07cbb9a590389180252b7e
[media] adv7180: Add media controller support

Add media controller support to the adv7180 driver by registering a media
entity instance for it as well as implementing pad ops for configuring the
format.

As there currently don't seem to be any users of the video ops format
operations those are removed as well in this patch.

Also set the V4L2_SUBDEV_FL_HAS_DEVNODE flag for the subdevice so it is
possible to create a subdevice device node.

Since the driver now depends on VIDEO_V4L2_SUBDEV_API all drivers which
select the driver need to depend on that symbol as well.

Signed-off-by: Lars-Peter Clausen <lars@metafoo.de>
Acked-by: Federico Vaga <federico.vaga@gmail.com>
Acked-by: Hans Verkuil <hans.verkuil@cisco.com>
Signed-off-by: Hans Verkuil <hans.verkuil@cisco.com>
Signed-off-by: Mauro Carvalho Chehab <mchehab@osg.samsung.com>
drivers/media/i2c/Kconfig
drivers/media/i2c/adv7180.c
drivers/media/pci/sta2x11/Kconfig
drivers/media/platform/Kconfig