summaryrefslogtreecommitdiff
path: root/drivers/hid/hid-gt683r.c
diff options
context:
space:
mode:
authorVille Syrjälä <ville.syrjala@linux.intel.com>2024-03-19 11:24:42 +0200
committerRodrigo Vivi <rodrigo.vivi@intel.com>2024-03-28 12:16:17 -0400
commit32e39bab59934bfd3f37097d4dd85ac5eb0fd549 (patch)
tree3ae76f367e37aff5cd0a6cd667ff85652a42ec24 /drivers/hid/hid-gt683r.c
parent582dc04b0658ef3b90aeb49cbdd9747c2f1eccc3 (diff)
drm/i915/bios: Tolerate devdata==NULL in intel_bios_encoder_supports_dp_dual_mode()
If we have no VBT, or the VBT didn't declare the encoder in question, we won't have the 'devdata' for the encoder. Instead of oopsing just bail early. We won't be able to tell whether the port is DP++ or not, but so be it. Cc: stable@vger.kernel.org Closes: https://gitlab.freedesktop.org/drm/intel/-/issues/10464 Signed-off-by: Ville Syrjälä <ville.syrjala@linux.intel.com> Link: https://patchwork.freedesktop.org/patch/msgid/20240319092443.15769-1-ville.syrjala@linux.intel.com Reviewed-by: Jani Nikula <jani.nikula@intel.com> (cherry picked from commit 26410896206342c8a80d2b027923e9ee7d33b733) Signed-off-by: Rodrigo Vivi <rodrigo.vivi@intel.com>
Diffstat (limited to 'drivers/hid/hid-gt683r.c')
0 files changed, 0 insertions, 0 deletions