aboutsummaryrefslogtreecommitdiffstats
path: root/tools/perf/scripts/python/libxed.py
diff options
context:
space:
mode:
authorLaurent Pinchart <[email protected]>2023-06-06 16:55:30 +0000
committerMauro Carvalho Chehab <[email protected]>2023-07-28 08:20:10 +0000
commit6d00f4ec1205a01a6aac1fe3ce04d53a6b2ede59 (patch)
treee652f64f543ee8603d2724bd1c47d09a64398d77 /tools/perf/scripts/python/libxed.py
parentmedia: mtk-jpeg: Set platform driver data earlier (diff)
downloadkernel-6d00f4ec1205a01a6aac1fe3ce04d53a6b2ede59.tar.gz
kernel-6d00f4ec1205a01a6aac1fe3ce04d53a6b2ede59.zip
media: uvcvideo: Fix menu count handling for userspace XU mappings
When commit 716c330433e3 ("media: uvcvideo: Use standard names for menus") reworked the handling of menu controls, it inadvertently replaced a GENMASK(n - 1, 0) with a BIT_MASK(n). The latter isn't equivalent to the former, which broke adding XU mappings from userspace. Fix it. Link: https://lore.kernel.org/linux-media/[email protected]/ Cc: [email protected] Reported-by: Poncho <[email protected]> Fixes: 716c330433e3 ("media: uvcvideo: Use standard names for menus") Signed-off-by: Laurent Pinchart <[email protected]> Reviewed-by: Ricardo Ribalda <[email protected]> Signed-off-by: Mauro Carvalho Chehab <[email protected]>
Diffstat (limited to 'tools/perf/scripts/python/libxed.py')
0 files changed, 0 insertions, 0 deletions