diff mbox

[LEDE-DEV] ipq8064: Fix dwc3 module unloading

Message ID 1490606951-27992-1-git-send-email-thomas@reifferscheid.org
State Changes Requested
Headers show

Commit Message

Thomas Reifferscheid March 27, 2017, 9:29 a.m. UTC
Allow module unloading by fixing a mistake

Signed-off-by: Thomas Reifferscheid <thomas@reifferscheid.org>
---
 target/linux/ipq806x/patches-4.9/0032-phy-add-qcom-dwc3-phy.patch | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

Comments

John Crispin March 27, 2017, 9:44 a.m. UTC | #1
the patch does not explain the mistake. please add that info

     John


On 27/03/17 11:29, Thomas Reifferscheid wrote:
> Allow module unloading by fixing a mistake
>
> Signed-off-by: Thomas Reifferscheid <thomas@reifferscheid.org>
> ---
>   target/linux/ipq806x/patches-4.9/0032-phy-add-qcom-dwc3-phy.patch | 2 +-
>   1 file changed, 1 insertion(+), 1 deletion(-)
>
> diff --git a/target/linux/ipq806x/patches-4.9/0032-phy-add-qcom-dwc3-phy.patch b/target/linux/ipq806x/patches-4.9/0032-phy-add-qcom-dwc3-phy.patch
> index 314631d..39e918f 100644
> --- a/target/linux/ipq806x/patches-4.9/0032-phy-add-qcom-dwc3-phy.patch
> +++ b/target/linux/ipq806x/patches-4.9/0032-phy-add-qcom-dwc3-phy.patch
> @@ -420,7 +420,7 @@ Signed-off-by: Andy Gross <agross@codeaurora.org>
>   +	qcom_dwc3_phy_write_readback(phy_dwc3, SSUSB_PHY_CTRL_REG,
>   +		SSUSB_CTRL_REF_USE_PAD, 0x0);
>   +	qcom_dwc3_phy_write_readback(phy_dwc3, SSUSB_PHY_CTRL_REG,
> -+		0x0, SSUSB_CTRL_TEST_POWERDOWN);
> ++		SSUSB_CTRL_TEST_POWERDOWN, 0x0);
>   +
>   +	return 0;
>   +}
diff mbox

Patch

diff --git a/target/linux/ipq806x/patches-4.9/0032-phy-add-qcom-dwc3-phy.patch b/target/linux/ipq806x/patches-4.9/0032-phy-add-qcom-dwc3-phy.patch
index 314631d..39e918f 100644
--- a/target/linux/ipq806x/patches-4.9/0032-phy-add-qcom-dwc3-phy.patch
+++ b/target/linux/ipq806x/patches-4.9/0032-phy-add-qcom-dwc3-phy.patch
@@ -420,7 +420,7 @@  Signed-off-by: Andy Gross <agross@codeaurora.org>
 +	qcom_dwc3_phy_write_readback(phy_dwc3, SSUSB_PHY_CTRL_REG,
 +		SSUSB_CTRL_REF_USE_PAD, 0x0);
 +	qcom_dwc3_phy_write_readback(phy_dwc3, SSUSB_PHY_CTRL_REG,
-+		0x0, SSUSB_CTRL_TEST_POWERDOWN);
++		SSUSB_CTRL_TEST_POWERDOWN, 0x0);
 +
 +	return 0;
 +}