]> git.proxmox.com Git - mirror_ubuntu-kernels.git/commit
drm/i915/dsi: fix MIPI_BKLT_EN_1 native GPIO index
authorJani Nikula <jani.nikula@intel.com>
Tue, 20 Dec 2022 14:01:05 +0000 (16:01 +0200)
committerRodrigo Vivi <rodrigo.vivi@intel.com>
Fri, 30 Dec 2022 09:28:46 +0000 (04:28 -0500)
commit6217e9f05a74df48c77ee68993d587cdfdb1feb7
tree4a9b7403305cdd913f7a987f6fa4c6abdfe837f6
parent963bbdb32b47cfa67a449e715e1dcc525fbd01fc
drm/i915/dsi: fix MIPI_BKLT_EN_1 native GPIO index

Due to copy-paste fail, MIPI_BKLT_EN_1 would always use PPS index 1,
never 0. Fix the sloppiest commit in recent memory.

Fixes: 963bbdb32b47 ("drm/i915/dsi: add support for ICL+ native MIPI GPIO sequence")
Reported-by: Ville Syrjälä <ville.syrjala@linux.intel.com>
Signed-off-by: Jani Nikula <jani.nikula@intel.com>
Reviewed-by: Ville Syrjälä <ville.syrjala@linux.intel.com>
Link: https://patchwork.freedesktop.org/patch/msgid/20221220140105.313333-1-jani.nikula@intel.com
(cherry picked from commit a561933c571798868b5fa42198427a7e6df56c09)
Cc: stable@vger.kernel.org # 6.1
Signed-off-by: Rodrigo Vivi <rodrigo.vivi@intel.com>
drivers/gpu/drm/i915/display/intel_dsi_vbt.c