]> rtime.felk.cvut.cz Git - linux-imx.git/commit
video: ssd1307fb: Rework the communication functions
authorMaxime Ripard <maxime.ripard@free-electrons.com>
Mon, 22 Apr 2013 10:02:23 +0000 (12:02 +0200)
committerTomi Valkeinen <tomi.valkeinen@ti.com>
Tue, 28 May 2013 11:41:57 +0000 (14:41 +0300)
commit9f7714d4638382d5f84fefd322983925935da742
tree3c01496e558be85641c721613ffc14cc1988a11f
parentbbc79089ae2bd0306db7f8dce85d56f9be65b205
video: ssd1307fb: Rework the communication functions

To efficiently send a whole page to the display, we need to be able to
manipulate more easily the data arrays that has to be sent to the OLED
controller. As such, this patch introduces a ssd1307fb_array structure
that handles both the small header to be sent over i2c, which contains
the type of information sent, and the raw bytes after that.

Signed-off-by: Maxime Ripard <maxime.ripard@free-electrons.com>
Signed-off-by: Tomi Valkeinen <tomi.valkeinen@ti.com>
drivers/video/ssd1307fb.c