Re: [PATCH 17/20] phy: qcom-qmp-pcie: add config sanity checks

From: Dmitry Baryshkov
Date: Wed Oct 12 2022 - 17:20:39 EST


On 12/10/2022 11:49, Johan Hovold wrote:
The driver expects every configuration to set the pwrdn_ctrl and
phy_status masks. Add some probe WARN_ON_ONCE() to probe to catch any
new driver support that fails to provide them.

Signed-off-by: Johan Hovold <johan+linaro@xxxxxxxxxx>
---
drivers/phy/qualcomm/phy-qcom-qmp-pcie.c | 3 +++
1 file changed, 3 insertions(+)

Reviewed-by: Dmitry Baryshkov <dmitry.baryshkov@xxxxxxxxxx>

--
With best wishes
Dmitry