Skip to content
Commit e21a021e authored by Vincent Geneves's avatar Vincent Geneves Committed by Anas Nashif
Browse files

drivers: gpio: pcal64xxa: give semaphore in case of error



In function pcal64xxa_process_input, lock was not released in case of
error when calling inputs_read.
This was causing an infinite wait in the following calls of functions
using I2C bus.

Signed-off-by: default avatarVincent Geneves <vgeneves@kalray.eu>
parent 9ba65abc
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please to comment