aboutsummaryrefslogtreecommitdiff
path: root/lib/mpi/mpi-internal.h
diff options
context:
space:
mode:
authorJani Nikula <[email protected]>2022-08-16 18:37:20 +0300
committerJani Nikula <[email protected]>2022-08-18 13:10:31 +0300
commitf4a6c7a454a6e71c5ccf25af82694213a9784013 (patch)
treed2a5c27f6a884cefcbef927e24bd09d9071fc5bd /lib/mpi/mpi-internal.h
parent78f48aa6f50b662bd74607f7415d68171339b2eb (diff)
drm/i915/dsi: filter invalid backlight and CABC ports
Avoid using ports that aren't initialized in case the VBT backlight or CABC ports have invalid values. This fixes a NULL pointer dereference of intel_dsi->dsi_hosts[port] in such cases. Cc: [email protected] Signed-off-by: Jani Nikula <[email protected]> Reviewed-by: Stanislav Lisovskiy <[email protected]> Link: https://patchwork.freedesktop.org/patch/msgid/b0f4f087866257d280eb97d6bcfcefd109cc5fa2.1660664162.git.jani.nikula@intel.com
Diffstat (limited to 'lib/mpi/mpi-internal.h')
0 files changed, 0 insertions, 0 deletions