staging: fbtft: fb_st7789v: reset display before initialization
Subsystems (4)
PATCH 1/1 staging: fbtft: fb_st7789v: reset display before initialization
In rare cases the display is flipped or mirrored. This was observed more often in a low temperature environment. A clean reset on init_display() should help to get registers in a sane state.
Fixes ef8f317795da (staging: fbtft: use init function instead of init sequence)
Signed-off-by Oliver Graute <[email protected]>
--- drivers/staging/fbtft/fb_st7789v.c | 2 ++ 1 file changed, 2 insertions(+)
drivers/staging/fbtft/fb_st7789v.c +2 -0
@@ -82,6 +82,8 @@ enum st7789v_command { {int rc; + par->fbtftops.reset (par); + rc =init_tearing_effect_line (par);if (rc)return rc;
Signature · 1 line
2.17.1