mirror of
https://github.com/torvalds/linux.git
synced 2026-11-29 01:43:18 +00:00
The handling of per-device mappings introduced in commit86f7ef7731("media: uvcvideo: Add support for per-device control mapping overrides") overwrote the mapping variable after it was initialized and before it was used, leading to usage of an invalid pointer for devices with per-device mappings. Fix it. Fixes:86f7ef7731("media: uvcvideo: Add support for per-device control mapping overrides") Signed-off-by: Laurent Pinchart <[email protected]> Signed-off-by: Hans Verkuil <[email protected]> Signed-off-by: Mauro Carvalho Chehab <[email protected]>