summaryrefslogtreecommitdiff
path: root/tools/perf/scripts/python
diff options
context:
space:
mode:
authorHans Verkuil <hverkuil-cisco@xs4all.nl>2022-05-06 09:43:25 +0200
committerMauro Carvalho Chehab <mchehab@kernel.org>2022-05-13 11:28:54 +0200
commit59267fc34f4900dcd2ec3295f6be04b79aee2186 (patch)
tree34f7e6e4c41662ac9495457d0be599e2ff5286fd /tools/perf/scripts/python
parent184c387db057c135eeab1a163f863838edb02483 (diff)
downloadkernel-59267fc34f4900dcd2ec3295f6be04b79aee2186.tar.gz
media: cec-adap.c: fix is_configuring state
If an adapter is trying to claim a free logical address then it is in the 'is_configuring' state. If during that process the cable is disconnected (HPD goes low, which in turn invalidates the physical address), then cec_adap_unconfigure() is called, and that set the is_configuring boolean to false, even though the thread that's trying to claim an LA is still running. Don't touch the is_configuring bool in cec_adap_unconfigure(), it will eventually be cleared by the thread. By making that change the cec_config_log_addr() function also had to change: it was aborting if is_configuring became false (since that is what cec_adap_unconfigure() did), but that no longer works. Instead check if the physical address is invalid. That is a much more appropriate check anyway. This fixes a bug where the the adapter could be disabled even though the device was still configuring. This could cause POLL transmits to time out. Signed-off-by: Hans Verkuil <hverkuil-cisco@xs4all.nl> Signed-off-by: Mauro Carvalho Chehab <mchehab@kernel.org>
Diffstat (limited to 'tools/perf/scripts/python')
0 files changed, 0 insertions, 0 deletions
3f2aff01117f28b57b1145d92cb9b'>arm64: Add HWCAP for self-synchronising virtual counterMarc Zyngier 2020-09-03arm64: mte: CPU feature detection and initial sysreg configurationVincenzo Frascino 2020-07-24arm64: Reserve HWCAP2_MTE as (1 << 18)Catalin Marinas 2020-03-16arm64: Basic Branch Target Identification supportDave Martin 2020-01-22Merge branch 'for-next/rng' into for-next/coreWill Deacon 2020-01-22arm64: Implement archrandom.h for ARMv8.5-RNGRichard Henderson 2020-01-15arm64: cpufeature: Export matrix and other features to userspaceSteven Price 2019-06-25arm64: Expose FRINT capabilities to userspaceMark Brown 2019-06-25arm64: Expose ARMv8.5 CondM capability to userspaceMark Brown 2019-04-23arm64: Expose SVE2 features for userspaceDave Martin 2019-04-16arm64: Expose DC CVADP to userspaceAndrew Murray 2019-04-16arm64: HWCAP: add support for AT_HWCAP2Andrew Murray 2018-12-13arm64: add basic pointer authentication supportMark Rutland 2018-12-06arm64: Add support for SB barrier and patch in over DSB; ISB sequencesWill Deacon 2018-09-14arm64: cpufeature: Detect SSBS and advertise to userspaceWill Deacon 2018-03-19arm64: Expose Arm v8.4 featuresSuzuki K Poulose 2018-01-05arm64: v8.4: Support for new floating point multiplication instructionsDongjiu Geng 2017-11-15Merge tag 'arm64-upstream' of git://git.kernel.org/pub/scm/linux/kernel/git/a...Linus Torvalds 2017-11-03arm64/sve: Detect SVE and activate runtime supportDave Martin 2017-11-02License cleanup: add SPDX license identifier to uapi header files with a licenseGreg Kroah-Hartman 2017-10-11arm64: Expose support for optional ARMv8-A featuresSuzuki K Poulose 2017-08-09arm64: Expose DC CVAP to userspaceRobin Murphy