An error occurred while fetching folder content.
usb: gadget: uvc: configfs: Prevent format changes after linking header
Joel Pepper authored
[ Upstream commit cb2200f7

 ]

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>
Signed-off-by: default avatarSasha Levin <sashal@kernel.org>
d0361038
Name Last commit Last update