Re: [PATCH net] ptp: ptp_clockmatrix: use i2c_master_send for i2c write
From: Richard Cochran
Date: Mon Aug 17 2020 - 14:24:17 EST
On Mon, Aug 17, 2020 at 11:37:35AM -0400, min.li.xe@xxxxxxxxxxx wrote:
> From: Min Li <min.li.xe@xxxxxxxxxxx>
>
> The old code for i2c write would break on some controllers, which fails
> at handling Repeated Start Condition. So we will just use i2c_master_send
> to handle write in one transanction.
>
> Signed-off-by: Min Li <min.li.xe@xxxxxxxxxxx>
Acked-by: Richard Cochran <richardcochran@xxxxxxxxx>