summaryrefslogtreecommitdiffstats
path: root/drivers/media/v4l2-core/v4l2-event.c
diff options
context:
space:
mode:
authorSakari Ailus <sakari.ailus@linux.intel.com>2017-01-02 08:32:47 -0200
committerMauro Carvalho Chehab <mchehab@s-opensource.com>2017-01-27 11:20:33 -0200
commit98d85f3cb912fde14593ead54dea4c1a00b3966f (patch)
treeda286b825585810d7a510d4637d1a9276f72cea5 /drivers/media/v4l2-core/v4l2-event.c
parent40eca140c404505c09773d1c6685d818cb55ab1a (diff)
downloadtalos-obmc-linux-98d85f3cb912fde14593ead54dea4c1a00b3966f.tar.gz
talos-obmc-linux-98d85f3cb912fde14593ead54dea4c1a00b3966f.zip
[media] media: Properly pass through media entity types in entity enumeration
When the functions replaced media entity types, the range which was allowed for the types was incorrect. This meant that media entity types for specific devices were not passed correctly to the userspace through MEDIA_IOC_ENUM_ENTITIES. Fix it. Fixes: commit b2cd27448b33 ("[media] media-device: map new functions into old types for legacy API") Reported-and-tested-by: Antti Laakso <antti.laakso@intel.com> Signed-off-by: Sakari Ailus <sakari.ailus@linux.intel.com> Acked-by: Laurent Pinchart <laurent.pinchart@ideasonboard.com> Cc: stable@vger.kernel.org # For v4.5 and up Signed-off-by: Mauro Carvalho Chehab <mchehab@s-opensource.com>
Diffstat (limited to 'drivers/media/v4l2-core/v4l2-event.c')
0 files changed, 0 insertions, 0 deletions
OpenPOWER on IntegriCloud