staging: fbtft: fb_ssd1306: Support smaller screen sizes
authorAndy Shevchenko <andriy.shevchenko@linux.intel.com>
Thu, 19 Jan 2017 10:45:44 +0000 (12:45 +0200)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Thu, 19 Jan 2017 11:50:28 +0000 (12:50 +0100)
commit95ecde0f65661d7fd34bb3e846e1cc7bcbfe7b6d
tree9143a456c99f07913a1171f12a13bd55b9b7de88
parent09142c17daed255710bd4d9813d1f89f551a8e10
staging: fbtft: fb_ssd1306: Support smaller screen sizes

There is 64x48 display exists. In order to support that set multiplexer
to 48 pixels and window address to proper position in the graphic display
data RAM.

Acked-by: Noralf Trønnes <noralf@tronnes.org>
Signed-off-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
drivers/staging/fbtft/fb_ssd1306.c