[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)
commitfa5034c667c224be48db31a0d043dba305e8e7a8
treef5b74b0c5c23797016fa5357e396e10e11d8c3c8
parentc1026c580df130c1d1943fff99bae0bef2cafa7b
[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