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

Commit e80f75ff authored by Peter Rosin's avatar Peter Rosin Committed by Greg Kroah-Hartman
Browse files

i2c: pmcmsp: return message count on master_xfer success



[ Upstream commit de9a8634f1cb4560a35696d472cc7f1383d9b866 ]

Returning zero is wrong in this case.

Signed-off-by: default avatarPeter Rosin <peda@axentia.se>
Signed-off-by: default avatarWolfram Sang <wsa@the-dreams.de>
Fixes: 1b144df1 ("i2c: New PMC MSP71xx TWI bus driver")
Signed-off-by: default avatarSasha Levin <alexander.levin@microsoft.com>
Signed-off-by: default avatarGreg Kroah-Hartman <gregkh@linuxfoundation.org>
parent bcfde08b
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