Re: [PATCH v3] bus: mhi: core: Add missing checks for MMIO register entries

From: Jeffrey Hugo
Date: Tue Mar 09 2021 - 13:58:16 EST


On 3/9/2021 11:44 AM, Bhaumik Bhatt wrote:
As per documentation, fields marked as (required) in an MHI
controller structure need to be populated by the controller driver
before calling mhi_register_controller(). Ensure all required
pointers and non-zero fields are present in the controller before
proceeding with the registration.

Signed-off-by: Bhaumik Bhatt <bbhatt@xxxxxxxxxxxxxx>
---

Reviewed-by: Jeffrey Hugo <jhugo@xxxxxxxxxxxxxx>

--
Jeffrey Hugo
Qualcomm Technologies, Inc. is a member of the
Code Aurora Forum, a Linux Foundation Collaborative Project.