Re: [PATCH v1 1/2] bus: mhi: core: Bail on writing register fields if read fails

From: Jeffrey Hugo
Date: Thu Aug 19 2021 - 10:05:35 EST

On 8/18/2021 7:40 PM, Hemant Kumar wrote:

On 8/18/2021 4:50 PM, Bhaumik Bhatt wrote:
Helper API to write register fields relies on successful reads
of the register/address prior to the write. Bail out if a failure
is seen when reading the register before the actual write is

Signed-off-by: Bhaumik Bhatt <bbhatt@xxxxxxxxxxxxxx>
Reviewed-by: Hemant Kumar <hemantk@xxxxxxxxxxxxxx>

Reviewed-by: Jeffrey Hugo <quic_jhugo@xxxxxxxxxxx>