From: Maxime Ripard Date: Mon, 22 Apr 2013 10:02:24 +0000 (+0200) Subject: video: ssd1307fb: Speed up the communication with the controller X-Git-Tag: v3.11-rc1~66^2~7^2~3 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=3394e645a88c722396fc1b03c31a3ffc158744ad;p=pandora-kernel.git 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 Signed-off-by: Tomi Valkeinen --- Reading git-diff-tree failed