Linux kernel mirror (for testing) git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git
kernel os linux

fbdev: ssd1307fb: set default height if not found in DT node

this patch sets the default height if its not found in DT.

Signed-off-by: Lad, Prabhakar <prabhakar.csengg@gmail.com>
Acked-by: Maxime Ripard <maxime.ripard@free-electrons.com>
Signed-off-by: Tomi Valkeinen <tomi.valkeinen@ti.com>

authored by

Lad, Prabhakar and committed by
Tomi Valkeinen
9561def0 f6535d21

+1 -1
+1 -1
drivers/video/fbdev/ssd1307fb.c
··· 443 443 par->width = 96; 444 444 445 445 if (of_property_read_u32(node, "solomon,height", &par->height)) 446 - par->width = 16; 446 + par->height = 16; 447 447 448 448 if (of_property_read_u32(node, "solomon,page-offset", &par->page_offset)) 449 449 par->page_offset = 1;