Re: [PATCH] bus: mhi: core: Use mhi_soc_reset() API instead of register write

From: Hemant Kumar
Date: Thu Jul 01 2021 - 16:57:50 EST


On Thu, 2021-07-01 at 12:55 -0700, Bhaumik Bhatt wrote:
> Currently, register writes are used when ramdump collection in
> panic path occurs. Replace that with new mhi_soc_reset() API such
> that a controller defined reset() function is exercised if one is
> present and the regular SOC reset is done if it is not.
>
> 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