media: bcm2835-unicam: Disable event-related ioctls on metadata node
authorLaurent Pinchart <laurent.pinchart@ideasonboard.com>
Tue, 24 Mar 2020 21:13:02 +0000 (23:13 +0200)
committerDom Cobley <popcornmix@gmail.com>
Mon, 21 Mar 2022 16:04:00 +0000 (16:04 +0000)
commit00f54aa0413d5df2d8348aea609865518cf4bf23
tree8252cd1872579f17b03f4e6b9478cc4f0f14903e
parent5f1db5bce364e68e25cc0a7a929b016976a08f45
media: bcm2835-unicam: Disable event-related ioctls on metadata node

The unicam driver supports both the SOURCE_CHANGE and CTRL events. Both
events are only generated on the image video node, so the event-related
ioctls are useless on the medatada node. Disable them.

Signed-off-by: Laurent Pinchart <laurent.pinchart@ideasonboard.com>
Reviewed-by: Jacopo Mondi <jacopo@jmondi.org>
Reviewed-by: Naushir Patuck <naush@raspberrypi.com>
drivers/media/platform/bcm2835/bcm2835-unicam.c