i3c: master: svc: Fix error code in svc_i3c_master_do_daa_locked()

This code has a typo so it returns positive EIO instead of negative -EIO.  Fix
it!

Fixes: a7809cb368 ("i3c: master: svc: Improve DAA STOP handle code logic")
Signed-off-by: Dan Carpenter <dan.carpenter@linaro.org>
Reviewed-by: Frank Li <Frank.Li@nxp.com>
Link: https://lore.kernel.org/r/e017edfc-da64-496b-8516-958bec27cd9a@stanley.mountain
Signed-off-by: Alexandre Belloni <alexandre.belloni@bootlin.com>
This commit is contained in:
Dan Carpenter 2024-07-18 13:30:22 -05:00 committed by Alexandre Belloni
parent 63c33ca096
commit b73c983491

View File

@ -874,7 +874,7 @@ static int svc_i3c_master_do_daa_locked(struct svc_i3c_master *master,
* address this time.
*/
if (prov_id[dev_nb] == nacking_prov_id) {
ret = EIO;
ret = -EIO;
break;
}