aboutsummaryrefslogtreecommitdiffstats
path: root/drivers
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 /drivers
parentMerge tag 'tty-5.17-rc6' of git://git.kernel.org/pub/scm/linux/kernel/git/gregkh/tty (diff)
parentstaging: fbtft: fb_st7789v: reset display before initialization (diff)
downloadlinux-dev-eae9350eb40aa0b07c280ab3a504bdc65c2211f1.tar.xz
linux-dev-eae9350eb40aa0b07c280ab3a504bdc65c2211f1.zip
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
Diffstat (limited to 'drivers')
-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 abe9395a0aef..861a154144e6 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;