Skip to contentSkip to conversation

gpio:Fix error checking in the function device_pca957x_init

PATCH RESEND Alexandre Courbot 1 participant 1 message Sep 24, 2015 1 message not in the archive GPIO

lore
Share & tools
lore
#1 lore raw
In reply to a message not in the archive
Quoted 5 lines · Nicholas Krause

This fixes error checking in the function device_pca957x_init to properly check and return error code values from the calls to the function pca953x_write_regs if they fail as to properly signal callers when a error occurs due a failure when writing registers for this gpio based device.

I gave a Reviewed-by to the previous iteration of this patch but you have not included it in this one.

Besides I also asked you to add a space after "gpio:" in your subject line, but you have ignored this as well.