This series fixes a copy-paste bug in the panel prepare() error paths.

Both the boe-tv101wum-nl6 and ilitek-ili9882t drivers enable pp3300 first, 
but fail to disable it if a subsequent step (like enabling pp1800 or 
sending DCS commands) fails. This leads to a regulator refcount leak 
across repeated prepare failures.

The ili9882t driver was derived from the boe driver, which is why it 
inherited the identical bug.

Tang Bin (2):
  drm/panel: boe-tv101wum-nl6: disable pp3300 on prepare() error paths
  drm/panel: ilitek-ili9882t: disable pp3300 on prepare() error paths

 drivers/gpu/drm/panel/panel-boe-tv101wum-nl6.c | 4 +++-
 drivers/gpu/drm/panel/panel-ilitek-ili9882t.c  | 4 +++-
 2 files changed, 6 insertions(+), 2 deletions(-)

-- 
2.52.0.windows.1



Reply via email to