linux/drivers/media/platform/s5p-jpeg
Javier Martinez Canillas b9f19f00d6 [media] s5p-jpeg: only fill driver's name in capabilities driver field
The driver fills in both the struct v4l2_capability driver and card fields
the same values, that is the driver's name plus the information if the dev
is a decoder or an encoder.

But the driver field has a fixed length of 16 bytes so the filled data is
truncated:

Driver Info (not using libv4l2):
        Driver name   : s5p-jpeg decode
        Card type     : s5p-jpeg decoder
        Bus info      : platform:11f50000.jpeg
        Driver version: 4.7.0

Also, this field should only contain the driver's name so use just that.
The information if the device is a decoder or an encoder is in the card
type field anyways.

Signed-off-by: Javier Martinez Canillas <javier@osg.samsung.com>
Acked-by: Jacek Anaszewski <j.anaszewski@samsung.com>
Acked-by: Hans Verkuil <hans.verkuil@cisco.com>
Reviewed-by: Shuah Khan <shuahkh@osg.samsung.com>
Signed-off-by: Sylwester Nawrocki <s.nawrocki@samsung.com>
Signed-off-by: Mauro Carvalho Chehab <mchehab@s-opensource.com>
2016-08-24 13:31:10 -03:00
..
jpeg-core.c [media] s5p-jpeg: only fill driver's name in capabilities driver field 2016-08-24 13:31:10 -03:00
jpeg-core.h [media] media/platform: convert drivers to use the new vb2_queue dev field 2016-07-08 14:42:09 -03:00
jpeg-hw-exynos4.c [media] s5p-jpeg: add support for 5433 2015-10-01 08:40:04 -03:00
jpeg-hw-exynos4.h [media] s5p-jpeg: add support for 5433 2015-10-01 08:40:04 -03:00
jpeg-hw-exynos3250.c [media] s5p-jpeg: exynos3250: fix erroneous reset procedure 2015-03-04 08:59:34 -03:00
jpeg-hw-exynos3250.h [media] s5p-jpeg: Add support for Exynos3250 SoC 2014-07-30 19:15:06 -03:00
jpeg-hw-s5p.c [media] s5p-jpeg: Remove some unused functions 2015-04-07 08:15:15 -03:00
jpeg-hw-s5p.h [media] s5p-jpeg: Remove some unused functions 2015-04-07 08:15:15 -03:00
jpeg-regs.h [media] s5p-jpeg: add support for 5433 2015-10-01 08:40:04 -03:00
Makefile [media] s5p-jpeg: Add support for Exynos3250 SoC 2014-07-30 19:15:06 -03:00