]> git.baikalelectronics.ru Git - kernel.git/commit
[media] media: fix truncated entity specification
authorClemens Ladisch <clemens@ladisch.de>
Sat, 5 Nov 2011 21:42:01 +0000 (18:42 -0300)
committerMauro Carvalho Chehab <mchehab@redhat.com>
Tue, 20 Dec 2011 11:31:50 +0000 (09:31 -0200)
commit663a8dd6cda747c0ba7101c12a5399fd9c8927f5
treef5b74b0c5c23797016fa5357e396e10e11d8c3c8
parent819b0350d68108f54538e733d3b09a9f439cc41f
[media] media: fix truncated entity specification

When enumerating an entity, assign the entire entity specification
instead of only the first two words. (This requires giving the
specification union a name.)

So far, no driver actually uses more than two words, but this will
be needed for ALSA entities.

Signed-off-by: Clemens Ladisch <clemens@ladisch.de>
[laurent.pinchart@ideasonboard.com: Rename specification to info]
Signed-off-by: Laurent Pinchart <laurent.pinchart@ideasonboard.com>
Signed-off-by: Mauro Carvalho Chehab <mchehab@redhat.com>
drivers/media/media-device.c
drivers/media/video/v4l2-dev.c
drivers/media/video/v4l2-device.c
include/media/media-entity.h