[<prev] [next>] [thread-next>] [day] [month] [year] [list]
Message-ID: <1415093391-4569-1-git-send-email-ray.huang@amd.com>
Date: Tue, 4 Nov 2014 17:29:51 +0800
From: Huang Rui <ray.huang@....com>
To: Felipe Balbi <balbi@...com>, Alan Stern <stern@...land.harvard.edu>
CC: Greg Kroah-Hartman <gregkh@...uxfoundation.org>,
Paul Zimmerman <Paul.Zimmerman@...opsys.com>,
Tony Li <tony.li@....com>, Vincent Wan <vincent.wan@....com>,
<linux-usb@...r.kernel.org>, <linux-kernel@...r.kernel.org>,
Huang Rui <ray.huang@....com>
Subject: [PATCH] usb: dwc3: remove warning of disable scramble check
Some SoC's FPGA platform will need this quirk, but it will complain if
running at true SoC platform. This is a normal case, so remove this
warning.
Signed-off-by: Huang Rui <ray.huang@....com>
---
Hi,
This patch is based on balbi/testing/next branch.
Thanks,
Rui
---
drivers/usb/dwc3/core.c | 3 ---
1 file changed, 3 deletions(-)
diff --git a/drivers/usb/dwc3/core.c b/drivers/usb/dwc3/core.c
index 8ae42b8..3f1f0ab 100644
--- a/drivers/usb/dwc3/core.c
+++ b/drivers/usb/dwc3/core.c
@@ -531,9 +531,6 @@ static int dwc3_core_init(struct dwc3 *dwc)
dwc->is_fpga = true;
}
- WARN_ONCE(dwc->disable_scramble_quirk && !dwc->is_fpga,
- "disable_scramble cannot be used on non-FPGA builds\n");
-
if (dwc->disable_scramble_quirk && dwc->is_fpga)
reg |= DWC3_GCTL_DISSCRAMBLE;
else
--
1.9.1
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@...r.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/
Powered by blists - more mailing lists