Re: [PATCH v1 2/2] bus: mhi: core: Optimize and update MMIO register write method

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

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

On 8/18/2021 4:50 PM, Bhaumik Bhatt wrote:
As of now, MMIO writes done after ready state transition use the
mhi_write_reg_field() API even though the whole register is being
written in most cases. Optimize this process by using mhi_write_reg()
API instead for those writes and use the mhi_write_reg_field()
API for MHI config registers only.

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

Reviewed-by: Jeffrey Hugo <quic_jhugo@xxxxxxxxxxx>