aboutsummaryrefslogtreecommitdiff
path: root/tools/perf/scripts/python/mem-phys-addr.py
diff options
context:
space:
mode:
authorJai Luthra <[email protected]>2023-09-01 15:01:23 +0530
committerRobert Foss <[email protected]>2023-09-05 16:23:58 +0200
commitd0375f6858c4ff7244b62b02eb5e93428e1916cd (patch)
tree6e7b829f39a56f902e6d1029096e6f2bb0241bc0 /tools/perf/scripts/python/mem-phys-addr.py
parent29ff3b7e23af86ccaea2750b4edfbe1fc063ec9c (diff)
drm: bridge: it66121: Fix invalid connector dereference
Fix the NULL pointer dereference when no monitor is connected, and the sound card is opened from userspace. Instead return an empty buffer (of zeroes) as the EDID information to the sound framework if there is no connector attached. Fixes: e0fd83dbe924 ("drm: bridge: it66121: Add audio support") Reported-by: Nishanth Menon <[email protected]> Closes: https://lore.kernel.org/all/20230825105849.crhon42qndxqif4i@gondola/ Reviewed-by: Helen Koike <[email protected]> Signed-off-by: Jai Luthra <[email protected]> Tested-by: Nishanth Menon <[email protected]> Reviewed-by: Aradhya Bhatia <[email protected]> Signed-off-by: Robert Foss <[email protected]> Link: https://patchwork.freedesktop.org/patch/msgid/[email protected]
Diffstat (limited to 'tools/perf/scripts/python/mem-phys-addr.py')
0 files changed, 0 insertions, 0 deletions