panel-sitronix-st7701: Fix panel prepare over SPI
authorJack Andersen <jackoalan@gmail.com>
Fri, 26 May 2023 19:19:19 +0000 (12:19 -0700)
committerDom Cobley <popcornmix@gmail.com>
Mon, 19 Feb 2024 11:33:36 +0000 (11:33 +0000)
commit4d1b456af2731a7fd8612375df072bf971547f58
tree3df11338c1374f5ad8fc0e315874c8f20f986c4f
parent877dddfd21432c4ee660f1a7522b5c931446df66
panel-sitronix-st7701: Fix panel prepare over SPI

A DSI write is issued in st7701_prepare even when the probed panel
runs on SPI. In practice, this results in a panic with the
vc4-kms-dpi-hyperpixel2r overlay active.

Perform the equivalent write over SPI in this case.

Signed-off-by: Jack Andersen <jackoalan@gmail.com>
drivers/gpu/drm/panel/panel-sitronix-st7701.c