aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorLinus Torvalds <torvalds@linux-foundation.org>2022-02-25 11:56:16 -0800
committerLinus Torvalds <torvalds@linux-foundation.org>2022-02-25 11:56:16 -0800
commiteae9350eb40aa0b07c280ab3a504bdc65c2211f1 (patch)
tree5a857b31dd718f5ef46ca7693c22fde5f041eaec
parentd8fc3bb606d84ddaf26e31231d848600ae0eccec (diff)
parentb6821b0d9b56386d2bf14806f90ec401468c799f (diff)
downloadlinux-eae9350eb40aa0b07c280ab3a504bdc65c2211f1.tar.gz
Merge tag 'staging-5.17-rc6' of git://git.kernel.org/pub/scm/linux/kernel/git/gregkh/staging
Pull staging driver fix from Greg KH: "Here is a single staging driver fix for 5.17-rc6. It resolves a reported problem in the fbtft fb_st7789v.c driver that could cause the display to be flipped in cold weather. It has been in linux-next with no reported problems" * tag 'staging-5.17-rc6' of git://git.kernel.org/pub/scm/linux/kernel/git/gregkh/staging: staging: fbtft: fb_st7789v: reset display before initialization
-rw-r--r--drivers/staging/fbtft/fb_st7789v.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/drivers/staging/fbtft/fb_st7789v.c b/drivers/staging/fbtft/fb_st7789v.c
index abe9395a0aefda..861a154144e661 100644
--- a/drivers/staging/fbtft/fb_st7789v.c
+++ b/drivers/staging/fbtft/fb_st7789v.c
@@ -144,6 +144,8 @@ static int init_display(struct fbtft_par *par)
{
int rc;
+ par->fbtftops.reset(par);
+
rc = init_tearing_effect_line(par);
if (rc)
return rc;