Skip to content
Commit cb2200f7 authored by Joel Pepper's avatar Joel Pepper Committed by Laurent Pinchart
Browse files

usb: gadget: uvc: configfs: Prevent format changes after linking header



While checks are in place to avoid attributes and children of a format
being manipulated after the format is linked into the streaming header,
the linked flag was never actually set, invalidating the protections.
Update the flag as appropriate in the header link calls.

Signed-off-by: default avatarJoel Pepper <joel.pepper@rwth-aachen.de>
Reviewed-by: default avatarKieran Bingham <kieran.bingham@ideasonboard.com>
Signed-off-by: default avatarLaurent Pinchart <laurent.pinchart@ideasonboard.com>
parent b206548b
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment