linux-kernel.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* [PATCH] Revert "usb: dwc3: exynos: Add support for Exynos5422 suspend clk"
@ 2020-06-23  7:46 Anand Moon
  2020-06-23  9:20 ` Krzysztof Kozlowski
  0 siblings, 1 reply; 2+ messages in thread
From: Anand Moon @ 2020-06-23  7:46 UTC (permalink / raw)
  To: linux-usb, linux-arm-kernel
  Cc: Greg Kroah-Hartman, Felipe Balbi, Krzysztof Kozlowski,
	Marek Szyprowski, Bartlomiej Zolnierkiewicz, linux-samsung-soc,
	linux-kernel

This reverts commit 07f6842341abe978e6375078f84506ec3280ece5.

Since SCLK_SCLK_USBD300 suspend clock need to be configured
for phy module, I wrongly mapped this clock to DWC3 code.

Cc: Felipe Balbi <balbi@kernel.org>
Cc: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Signed-off-by: Anand Moon <linux.amoon@gmail.com>
---
 drivers/usb/dwc3/dwc3-exynos.c | 9 ---------
 1 file changed, 9 deletions(-)

diff --git a/drivers/usb/dwc3/dwc3-exynos.c b/drivers/usb/dwc3/dwc3-exynos.c
index 48b68b6f0dc8..90bb022737da 100644
--- a/drivers/usb/dwc3/dwc3-exynos.c
+++ b/drivers/usb/dwc3/dwc3-exynos.c
@@ -162,12 +162,6 @@ static const struct dwc3_exynos_driverdata exynos5250_drvdata = {
 	.suspend_clk_idx = -1,
 };
 
-static const struct dwc3_exynos_driverdata exynos5420_drvdata = {
-	.clk_names = { "usbdrd30", "usbdrd30_susp_clk"},
-	.num_clks = 2,
-	.suspend_clk_idx = 1,
-};
-
 static const struct dwc3_exynos_driverdata exynos5433_drvdata = {
 	.clk_names = { "aclk", "susp_clk", "pipe_pclk", "phyclk" },
 	.num_clks = 4,
@@ -184,9 +178,6 @@ static const struct of_device_id exynos_dwc3_match[] = {
 	{
 		.compatible = "samsung,exynos5250-dwusb3",
 		.data = &exynos5250_drvdata,
-	}, {
-		.compatible = "samsung,exynos5420-dwusb3",
-		.data = &exynos5420_drvdata,
 	}, {
 		.compatible = "samsung,exynos5433-dwusb3",
 		.data = &exynos5433_drvdata,
-- 
2.27.0


^ permalink raw reply related	[flat|nested] 2+ messages in thread

* Re: [PATCH] Revert "usb: dwc3: exynos: Add support for Exynos5422 suspend clk"
  2020-06-23  7:46 [PATCH] Revert "usb: dwc3: exynos: Add support for Exynos5422 suspend clk" Anand Moon
@ 2020-06-23  9:20 ` Krzysztof Kozlowski
  0 siblings, 0 replies; 2+ messages in thread
From: Krzysztof Kozlowski @ 2020-06-23  9:20 UTC (permalink / raw)
  To: Anand Moon
  Cc: linux-usb, linux-arm-kernel, Greg Kroah-Hartman, Felipe Balbi,
	Marek Szyprowski, Bartlomiej Zolnierkiewicz, linux-samsung-soc,
	linux-kernel

On Tue, 23 Jun 2020 at 09:46, Anand Moon <linux.amoon@gmail.com> wrote:
>
> This reverts commit 07f6842341abe978e6375078f84506ec3280ece5.
>
> Since SCLK_SCLK_USBD300 suspend clock need to be configured
> for phy module, I wrongly mapped this clock to DWC3 code.
>
> Cc: Felipe Balbi <balbi@kernel.org>
> Cc: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
> Signed-off-by: Anand Moon <linux.amoon@gmail.com>
> ---
>  drivers/usb/dwc3/dwc3-exynos.c | 9 ---------
>  1 file changed, 9 deletions(-)

But why was this patch applied in the first place? It did not pass the
review. For the v3 I replied:
"This patchset should not be applied. As of now, it is not needed and
not justified."
There were no acks and no positive reviews.

My comments from previous versions of this patchset were not properly addressed.

So here - yes, makes sense to revert it as it should have never been applied.

Best regards,
Krzysztof

^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2020-06-23  9:20 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2020-06-23  7:46 [PATCH] Revert "usb: dwc3: exynos: Add support for Exynos5422 suspend clk" Anand Moon
2020-06-23  9:20 ` Krzysztof Kozlowski

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).