Re: [PATCH] bus: mhi: host: Use mhi_soc_reset() API in place of register write

From: Jeffrey Hugo
Date: Tue Sep 27 2022 - 09:57:51 EST


On 9/27/2022 3:48 AM, Qiang Yu wrote:
Currently, a direct register write is 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: Qiang Yu <quic_qianyu@xxxxxxxxxxx>
---

Reviewed-by: Jeffrey Hugo <quic_jhugo@xxxxxxxxxxx>