Re: [PATCH -next] phy: lantiq: vrx200-pcie: fix error return code in ltq_vrx200_pcie_phy_power_on()

From: Martin Blumenstingl
Date: Wed Sep 04 2019 - 12:36:56 EST


On Wed, Sep 4, 2019 at 1:23 PM Wei Yongjun <weiyongjun1@xxxxxxxxxx> wrote:
>
> Fix to return a negative error code from the error handling
> case instead of 0, as done elsewhere in this function.
>
> Fixes: e52a632195bf ("phy: lantiq: vrx200-pcie: add a driver for the Lantiq VRX200 PCIe PHY")
> Signed-off-by: Wei Yongjun <weiyongjun1@xxxxxxxxxx>
Reviewed-by: Martin Blumenstingl <martin.blumenstingl@xxxxxxxxxxxxxx>

thank you for spotting and fixing this issue!