summaryrefslogtreecommitdiff
path: root/tools/perf/scripts/python
diff options
context:
space:
mode:
authorSrinivas Pandruvada <srinivas.pandruvada@linux.intel.com>2026-11-09 11:59:47 -0800
committerJiri Kosina <jkosina@suse.com>2026-11-20 14:59:23 +0100
commitfecb7895fbb1b7891e81a033f0dd1f5f7876dc07 (patch)
tree0a4043d6dc92366e04a91f7d197b197391eae7bf /tools/perf/scripts/python
parentac6c19392c7996ac8135dba6907c391a4be5beaf (diff)
HID: sensor: custom: Serialize misc device reads
The misc device permits only one open file, but threads sharing that file can still read concurrently. Serialize readers to preserve the single-reader assumption of the FIFO while keeping removal independent of a stalled user copy. Fixes: 4a7de0519df5 ("HID: sensor: Custom and Generic sensor support") Reported-by: Semyon Maryasin <simeon@maryasin.name> Closes: https://lore.kernel.org/all/CAM2dg7ewfVJSP4rFyhkCB1Rmd1+X56sAg=eUdbPthG2xrLqwQQ@mail.gmail.com/ Tested-by: Semyon Maryasin <simeon@maryasin.name> Tested-by: Zhang Lixu <lixu.zhang@intel.com> Signed-off-by: Srinivas Pandruvada <srinivas.pandruvada@linux.intel.com> Reviewed-by: Jonathan Cameron <jonathan.cameron@oss.qualcomm.com> Signed-off-by: Jiri Kosina <jkosina@suse.com>
Diffstat (limited to 'tools/perf/scripts/python')
0 files changed, 0 insertions, 0 deletions