Re: [PATCH v2] fbdev: ssd1307fb: return proper error code if write command fails

From
Tomi Valkeinen <hidden>
Date
2015-01-30 07:41:26
Also in
lkml
Reply to
Lad, Prabhakar, 2015-01-15
On 15/01/15 21:05, Lad, Prabhakar wrote:
From: Prabhakar Lad <prabhakar.csengg@gmail.com>

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>
---
 Changes for v2:
 a: Added new line as per Maxime's suggestion.

 drivers/video/fbdev/ssd1307fb.c | 67 ++++++++++++++++++++++++++++++++---------
 1 file changed, 53 insertions(+), 14 deletions(-)
Thanks, queued for 3.20.

 Tomi

Attachments

Thread (2 messages) 2 messages, 2 authors, last reply 2015-01-30
Keyboard shortcuts
hback out one level
jnext message in thread / next series-diff position
kprevious message in thread / previous series-diff position
ldrill in
Escclose help / fold thread tree
?toggle this help