summaryrefslogtreecommitdiff
path: root/drivers/media/i2c
diff options
context:
space:
mode:
authorSylwester Nawrocki <s.nawrocki@samsung.com>2013-04-23 14:36:04 (GMT)
committerMauro Carvalho Chehab <mchehab@redhat.com>2013-04-25 12:38:04 (GMT)
commitaceb59ed3438dcb2f5c90e2f62f0f9edde4091d2 (patch)
tree5562a2fc1bb8f25a2446725a42aa82daa5548e41 /drivers/media/i2c
parentd68b44e088caf0176cf80e7539750569d6e71ed8 (diff)
downloadlinux-aceb59ed3438dcb2f5c90e2f62f0f9edde4091d2.tar.xz
[media] exynos4-is: Fix driver name reported in vidioc_querycap
Originally struct v4l2_capability driver and card name was filled with name of the platform device. After switching to the device tree the device names have changed and now are 4 different driver names reported, depending on the video device opened. So instead of e.g. "exynos4-fimc" there is now one of: 11800000.fimc, 11810000.fimc, 11820000.fimc, 11830000.fimc. Fix this by using dev->driver_name, rather than platform device name. A common vidioc_querycap function is created for both M2M and capture video node. This fixes any breakage at user space should any application/library rely on the driver's name. Signed-off-by: Sylwester Nawrocki <s.nawrocki@samsung.com> Signed-off-by: Kyungmin Park <kyungmin.park@samsung.com> Signed-off-by: Mauro Carvalho Chehab <mchehab@redhat.com>
Diffstat (limited to 'drivers/media/i2c')
0 files changed, 0 insertions, 0 deletions