All of lore.kernel.org
 help / color / mirror / Atom feed
* [PATCH] ARM: imx: fix missing 3rd argument in macro imx_mmdc_perf_init
@ 2021-07-15 13:23 ` Colin King
  0 siblings, 0 replies; 4+ messages in thread
From: Colin King @ 2021-07-15 13:23 UTC (permalink / raw)
  To: Russell King, Shawn Guo, Sascha Hauer, Pengutronix Kernel Team,
	Fabio Estevam, NXP Linux Team, Dong Aisheng, Yang Yingliang,
	linux-arm-kernel
  Cc: kernel-janitors, linux-kernel

From: Colin Ian King <colin.king@canonical.com>

The function imx_mmdc_perf_init recently had a 3rd argument added to
it but the equivalent macro was not updated and is still the older
2 argument version. Fix this by adding in the missing 3rd argumement
mmdc_ipg_clk.

Fixes: f07ec8536580 ("ARM: imx: add missing clk_disable_unprepare()")
Signed-off-by: Colin Ian King <colin.king@canonical.com>
---
 arch/arm/mach-imx/mmdc.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/arch/arm/mach-imx/mmdc.c b/arch/arm/mach-imx/mmdc.c
index 4a6f1359e1e9..af12668d0bf5 100644
--- a/arch/arm/mach-imx/mmdc.c
+++ b/arch/arm/mach-imx/mmdc.c
@@ -534,7 +534,7 @@ static int imx_mmdc_perf_init(struct platform_device *pdev, void __iomem *mmdc_b
 
 #else
 #define imx_mmdc_remove NULL
-#define imx_mmdc_perf_init(pdev, mmdc_base) 0
+#define imx_mmdc_perf_init(pdev, mmdc_base, mmdc_ipg_clk) 0
 #endif
 
 static int imx_mmdc_probe(struct platform_device *pdev)
-- 
2.31.1


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

* [PATCH] ARM: imx: fix missing 3rd argument in macro imx_mmdc_perf_init
@ 2021-07-15 13:23 ` Colin King
  0 siblings, 0 replies; 4+ messages in thread
From: Colin King @ 2021-07-15 13:23 UTC (permalink / raw)
  To: Russell King, Shawn Guo, Sascha Hauer, Pengutronix Kernel Team,
	Fabio Estevam, NXP Linux Team, Dong Aisheng, Yang Yingliang,
	linux-arm-kernel
  Cc: kernel-janitors, linux-kernel

From: Colin Ian King <colin.king@canonical.com>

The function imx_mmdc_perf_init recently had a 3rd argument added to
it but the equivalent macro was not updated and is still the older
2 argument version. Fix this by adding in the missing 3rd argumement
mmdc_ipg_clk.

Fixes: f07ec8536580 ("ARM: imx: add missing clk_disable_unprepare()")
Signed-off-by: Colin Ian King <colin.king@canonical.com>
---
 arch/arm/mach-imx/mmdc.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/arch/arm/mach-imx/mmdc.c b/arch/arm/mach-imx/mmdc.c
index 4a6f1359e1e9..af12668d0bf5 100644
--- a/arch/arm/mach-imx/mmdc.c
+++ b/arch/arm/mach-imx/mmdc.c
@@ -534,7 +534,7 @@ static int imx_mmdc_perf_init(struct platform_device *pdev, void __iomem *mmdc_b
 
 #else
 #define imx_mmdc_remove NULL
-#define imx_mmdc_perf_init(pdev, mmdc_base) 0
+#define imx_mmdc_perf_init(pdev, mmdc_base, mmdc_ipg_clk) 0
 #endif
 
 static int imx_mmdc_probe(struct platform_device *pdev)
-- 
2.31.1


_______________________________________________
linux-arm-kernel mailing list
linux-arm-kernel@lists.infradead.org
http://lists.infradead.org/mailman/listinfo/linux-arm-kernel

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

* Re: [PATCH] ARM: imx: fix missing 3rd argument in macro imx_mmdc_perf_init
  2021-07-15 13:23 ` Colin King
@ 2021-07-23  7:33   ` Shawn Guo
  -1 siblings, 0 replies; 4+ messages in thread
From: Shawn Guo @ 2021-07-23  7:33 UTC (permalink / raw)
  To: Colin King
  Cc: Russell King, Sascha Hauer, Pengutronix Kernel Team,
	Fabio Estevam, NXP Linux Team, Dong Aisheng, Yang Yingliang,
	linux-arm-kernel, kernel-janitors, linux-kernel

On Thu, Jul 15, 2021 at 02:23:21PM +0100, Colin King wrote:
> From: Colin Ian King <colin.king@canonical.com>
> 
> The function imx_mmdc_perf_init recently had a 3rd argument added to
> it but the equivalent macro was not updated and is still the older
> 2 argument version. Fix this by adding in the missing 3rd argumement
> mmdc_ipg_clk.
> 
> Fixes: f07ec8536580 ("ARM: imx: add missing clk_disable_unprepare()")
> Signed-off-by: Colin Ian King <colin.king@canonical.com>

Applied, thanks!

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

* Re: [PATCH] ARM: imx: fix missing 3rd argument in macro imx_mmdc_perf_init
@ 2021-07-23  7:33   ` Shawn Guo
  0 siblings, 0 replies; 4+ messages in thread
From: Shawn Guo @ 2021-07-23  7:33 UTC (permalink / raw)
  To: Colin King
  Cc: Russell King, Sascha Hauer, Pengutronix Kernel Team,
	Fabio Estevam, NXP Linux Team, Dong Aisheng, Yang Yingliang,
	linux-arm-kernel, kernel-janitors, linux-kernel

On Thu, Jul 15, 2021 at 02:23:21PM +0100, Colin King wrote:
> From: Colin Ian King <colin.king@canonical.com>
> 
> The function imx_mmdc_perf_init recently had a 3rd argument added to
> it but the equivalent macro was not updated and is still the older
> 2 argument version. Fix this by adding in the missing 3rd argumement
> mmdc_ipg_clk.
> 
> Fixes: f07ec8536580 ("ARM: imx: add missing clk_disable_unprepare()")
> Signed-off-by: Colin Ian King <colin.king@canonical.com>

Applied, thanks!

_______________________________________________
linux-arm-kernel mailing list
linux-arm-kernel@lists.infradead.org
http://lists.infradead.org/mailman/listinfo/linux-arm-kernel

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

end of thread, other threads:[~2021-07-23  7:35 UTC | newest]

Thread overview: 4+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2021-07-15 13:23 [PATCH] ARM: imx: fix missing 3rd argument in macro imx_mmdc_perf_init Colin King
2021-07-15 13:23 ` Colin King
2021-07-23  7:33 ` Shawn Guo
2021-07-23  7:33   ` Shawn Guo

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.