Home Home > GIT Browse
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorThomas Zimmermann <tzimmermann@suse.de>2019-10-15 13:30:34 +0200
committerThomas Zimmermann <tzimmermann@suse.de>2019-10-15 13:30:34 +0200
commit36f862b947648113ccba00186421acbcadc28b7d (patch)
treeae85c05cb250c3f581888f48744a8337ac5b761b
parent0fcaa32da86fddf1a6af592592bc581d7a07a3e7 (diff)
video: ssd1307fb: Start page range at page_offset (bsc#1152446)
-rw-r--r--drivers/video/fbdev/ssd1307fb.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/video/fbdev/ssd1307fb.c b/drivers/video/fbdev/ssd1307fb.c
index f599520374dd..5f7dbf1c4609 100644
--- a/drivers/video/fbdev/ssd1307fb.c
+++ b/drivers/video/fbdev/ssd1307fb.c
@@ -433,7 +433,7 @@ static int ssd1307fb_init(struct ssd1307fb_par *par)
if (ret < 0)
return ret;
- ret = ssd1307fb_write_cmd(par->client, 0x0);
+ ret = ssd1307fb_write_cmd(par->client, par->page_offset);
if (ret < 0)
return ret;