summaryrefslogtreecommitdiff
path: root/crypto/wp512.c
diff options
context:
space:
mode:
authorMaxime Ripard <maxime.ripard@free-electrons.com>2013-04-22 12:02:24 +0200
committerTomi Valkeinen <tomi.valkeinen@ti.com>2013-05-28 14:41:58 +0300
commit3394e645a88c722396fc1b03c31a3ffc158744ad (patch)
tree46855f8b010a676d7d659e6f206599f971fc6605 /crypto/wp512.c
parent9f7714d4638382d5f84fefd322983925935da742 (diff)
video: ssd1307fb: Speed up the communication with the controller
The code until now was sending only 1pixel-wide page segment at once, and started a new transfer every time. It has proven very inefficient, because for one byte to display on the screen, we had to actually send 3 bytes over I2C: the address, the type of data that was going to the controller, and then the actual data. This patches changes that by sending a whole page at once, avoiding most of this expensive overhead. Signed-off-by: Maxime Ripard <maxime.ripard@free-electrons.com> Signed-off-by: Tomi Valkeinen <tomi.valkeinen@ti.com>
Diffstat (limited to 'crypto/wp512.c')
0 files changed, 0 insertions, 0 deletions