[PATCH] fsi: i2cr: Reduce status checks for read operations
Ninad Palsule
ninad at linux.ibm.com
Wed Feb 26 01:45:47 AEDT 2025
Hi Eddie,
>
> - ret = i2cr_check_status(i2cr->client);
> - if (ret)
> - goto unlock;
> + if (*data == 0xffffffffffffffffull) {
> + ret = i2cr_check_status(i2cr->client);
> + if (ret)
> + goto unlock;
> + }
>
> trace_i2cr_read(i2cr->client, command, data);
Reviewed-by: Ninad Palsule <ninad at linux.ibm.com>
--
Thanks & Regards,
Ninad
More information about the linux-fsi
mailing list