Skip to content
Commit 12d9bbc5 authored by Peter Rosin's avatar Peter Rosin Committed by Wolfram Sang
Browse files

i2c: pmcmsp: fix error return from master_xfer



Returning -1 (-EPERM) is not appropriate here, go with -EIO.

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")
parent de9a8634
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment