Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Skip to content
Commit 4297b23d authored by John Syne's avatar John Syne Committed by Jonathan Cameron
Browse files

staging:iio:ade7854: Fix error handling on read/write



The original code does not correctly handle the error related to I2C
read and write. This patch fixes the error handling related to all
read/write functions for I2C.

Signed-off-by: default avatarJohn Syne <john3909@gmail.com>
Signed-off-by: default avatarRodrigo Siqueira <rodrigosiqueiramelo@gmail.com>
Fixes: 8d97a587 ("staging: iio: meter: new driver for ADE7754 devices")
Signed-off-by: default avatarJonathan Cameron <Jonathan.Cameron@huawei.com>
parent 211d71af
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment