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

From: Hemant Kumar
Date: Wed Aug 18 2021 - 21:40:26 EST




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
performed.

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

--
The Qualcomm Innovation Center, Inc. is a member of the Code Aurora Forum, a Linux Foundation Collaborative Project