Skip to contentSkip to conversation

gpio: Fix error checking in the function device_pca957x_init

PATCH RESEND Linus Walleij 1 participant 1 message Oct 2, 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 8 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.

Already merged.

Yours,
Linus Walleij