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

A message that is not in the archive (sent off-list or not yet received): [email protected]

#1 lore raw
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