]> git.karo-electronics.de Git - linux-beck.git/commit
fbdev: ssd1307fb: return proper error code if write command fails
authorPrabhakar Lad <prabhakar.csengg@gmail.com>
Thu, 15 Jan 2015 19:05:37 +0000 (19:05 +0000)
committerTomi Valkeinen <tomi.valkeinen@ti.com>
Fri, 30 Jan 2015 07:40:00 +0000 (09:40 +0200)
commit5b72ae9a901cbfbe632570f278486142b037fe51
tree34724583354de89a4e44e7cbd3fcda47ec7301b8
parent4d073292a74b31ea00443d7778a95c209140aa42
fbdev: ssd1307fb: return proper error code if write command fails

this patch fixes ssd1307fb_ssd1306_init() function to return
proper error codes in case of failures.

Signed-off-by: Lad, Prabhakar <prabhakar.csengg@gmail.com>
Signed-off-by: Tomi Valkeinen <tomi.valkeinen@ti.com>
drivers/video/fbdev/ssd1307fb.c