* [PATCH] mmc: sdhci-of-at91: Display clock changes for debug purpose only
@ 2020-03-12 14:29 Tudor.Ambarus
2020-03-12 14:55 ` Ludovic.Desroches
` (2 more replies)
0 siblings, 3 replies; 4+ messages in thread
From: Tudor.Ambarus @ 2020-03-12 14:29 UTC (permalink / raw)
To: adrian.hunter, Ludovic.Desroches, ulf.hansson
Cc: Nicolas.Ferre, alexandre.belloni, linux-mmc, linux-arm-kernel,
Cristian.Birsan, Tudor.Ambarus
From: Cristian Birsan <cristian.birsan@microchip.com>
The sdhci_at91_set_clks_presets() function is called multiple times
at runtime and the messages are shown on the console. Display clk mul,
gck rate and clk base for debug porpose only.
Signed-off-by: Cristian Birsan <cristian.birsan@microchip.com>
Signed-off-by: Tudor Ambarus <tudor.ambarus@microchip.com>
---
drivers/mmc/host/sdhci-of-at91.c | 4 ++--
1 file changed, 2 insertions(+), 2 deletions(-)
diff --git a/drivers/mmc/host/sdhci-of-at91.c b/drivers/mmc/host/sdhci-of-at91.c
index ab2bd314a390..88f17abb69a7 100644
--- a/drivers/mmc/host/sdhci-of-at91.c
+++ b/drivers/mmc/host/sdhci-of-at91.c
@@ -204,8 +204,8 @@ static int sdhci_at91_set_clks_presets(struct device *dev)
/* Set capabilities in ro mode. */
writel(0, host->ioaddr + SDMMC_CACR);
- dev_info(dev, "update clk mul to %u as gck rate is %u Hz and clk base is %u Hz\n",
- clk_mul, gck_rate, clk_base_rate);
+ dev_dbg(dev, "update clk mul to %u as gck rate is %u Hz and clk base is %u Hz\n",
+ clk_mul, gck_rate, clk_base_rate);
/*
* We have to set preset values because it depends on the clk_mul
--
2.23.0
^ permalink raw reply related [flat|nested] 4+ messages in thread
* Re: [PATCH] mmc: sdhci-of-at91: Display clock changes for debug purpose only
2020-03-12 14:29 [PATCH] mmc: sdhci-of-at91: Display clock changes for debug purpose only Tudor.Ambarus
@ 2020-03-12 14:55 ` Ludovic.Desroches
2020-03-13 7:18 ` Adrian Hunter
2020-03-13 23:03 ` Ulf Hansson
2 siblings, 0 replies; 4+ messages in thread
From: Ludovic.Desroches @ 2020-03-12 14:55 UTC (permalink / raw)
To: Tudor.Ambarus, adrian.hunter, ulf.hansson
Cc: Nicolas.Ferre, alexandre.belloni, linux-mmc, linux-arm-kernel,
Cristian.Birsan
On 3/12/2020 3:29 PM, Tudor Ambarus - M18064 wrote:
> From: Cristian Birsan <cristian.birsan@microchip.com>
>
> The sdhci_at91_set_clks_presets() function is called multiple times
> at runtime and the messages are shown on the console. Display clk mul,
> gck rate and clk base for debug porpose only.
s/porpose/purpose
>
> Signed-off-by: Cristian Birsan <cristian.birsan@microchip.com>
> Signed-off-by: Tudor Ambarus <tudor.ambarus@microchip.com>
Acked-by: Ludovic Desroches <ludovic.desroches@microchip.com>
Thanks
> ---
> drivers/mmc/host/sdhci-of-at91.c | 4 ++--
> 1 file changed, 2 insertions(+), 2 deletions(-)
>
> diff --git a/drivers/mmc/host/sdhci-of-at91.c b/drivers/mmc/host/sdhci-of-at91.c
> index ab2bd314a390..88f17abb69a7 100644
> --- a/drivers/mmc/host/sdhci-of-at91.c
> +++ b/drivers/mmc/host/sdhci-of-at91.c
> @@ -204,8 +204,8 @@ static int sdhci_at91_set_clks_presets(struct device *dev)
> /* Set capabilities in ro mode. */
> writel(0, host->ioaddr + SDMMC_CACR);
>
> - dev_info(dev, "update clk mul to %u as gck rate is %u Hz and clk base is %u Hz\n",
> - clk_mul, gck_rate, clk_base_rate);
> + dev_dbg(dev, "update clk mul to %u as gck rate is %u Hz and clk base is %u Hz\n",
> + clk_mul, gck_rate, clk_base_rate);
>
> /*
> * We have to set preset values because it depends on the clk_mul
^ permalink raw reply [flat|nested] 4+ messages in thread
* Re: [PATCH] mmc: sdhci-of-at91: Display clock changes for debug purpose only
2020-03-12 14:29 [PATCH] mmc: sdhci-of-at91: Display clock changes for debug purpose only Tudor.Ambarus
2020-03-12 14:55 ` Ludovic.Desroches
@ 2020-03-13 7:18 ` Adrian Hunter
2020-03-13 23:03 ` Ulf Hansson
2 siblings, 0 replies; 4+ messages in thread
From: Adrian Hunter @ 2020-03-13 7:18 UTC (permalink / raw)
To: Tudor.Ambarus, Ludovic.Desroches, ulf.hansson
Cc: Nicolas.Ferre, alexandre.belloni, linux-mmc, linux-arm-kernel,
Cristian.Birsan
On 12/03/20 4:29 pm, Tudor.Ambarus@microchip.com wrote:
> From: Cristian Birsan <cristian.birsan@microchip.com>
>
> The sdhci_at91_set_clks_presets() function is called multiple times
> at runtime and the messages are shown on the console. Display clk mul,
> gck rate and clk base for debug porpose only.
>
> Signed-off-by: Cristian Birsan <cristian.birsan@microchip.com>
> Signed-off-by: Tudor Ambarus <tudor.ambarus@microchip.com>
Acked-by: Adrian Hunter <adrian.hunter@intel.com>
> ---
> drivers/mmc/host/sdhci-of-at91.c | 4 ++--
> 1 file changed, 2 insertions(+), 2 deletions(-)
>
> diff --git a/drivers/mmc/host/sdhci-of-at91.c b/drivers/mmc/host/sdhci-of-at91.c
> index ab2bd314a390..88f17abb69a7 100644
> --- a/drivers/mmc/host/sdhci-of-at91.c
> +++ b/drivers/mmc/host/sdhci-of-at91.c
> @@ -204,8 +204,8 @@ static int sdhci_at91_set_clks_presets(struct device *dev)
> /* Set capabilities in ro mode. */
> writel(0, host->ioaddr + SDMMC_CACR);
>
> - dev_info(dev, "update clk mul to %u as gck rate is %u Hz and clk base is %u Hz\n",
> - clk_mul, gck_rate, clk_base_rate);
> + dev_dbg(dev, "update clk mul to %u as gck rate is %u Hz and clk base is %u Hz\n",
> + clk_mul, gck_rate, clk_base_rate);
>
> /*
> * We have to set preset values because it depends on the clk_mul
>
^ permalink raw reply [flat|nested] 4+ messages in thread
* Re: [PATCH] mmc: sdhci-of-at91: Display clock changes for debug purpose only
2020-03-12 14:29 [PATCH] mmc: sdhci-of-at91: Display clock changes for debug purpose only Tudor.Ambarus
2020-03-12 14:55 ` Ludovic.Desroches
2020-03-13 7:18 ` Adrian Hunter
@ 2020-03-13 23:03 ` Ulf Hansson
2 siblings, 0 replies; 4+ messages in thread
From: Ulf Hansson @ 2020-03-13 23:03 UTC (permalink / raw)
To: Tudor.Ambarus
Cc: Adrian Hunter, Ludovic Desroches, Nicolas Ferre,
Alexandre Belloni, linux-mmc@vger.kernel.org, Linux ARM,
Cristian.Birsan
On Thu, 12 Mar 2020 at 15:29, <Tudor.Ambarus@microchip.com> wrote:
>
> From: Cristian Birsan <cristian.birsan@microchip.com>
>
> The sdhci_at91_set_clks_presets() function is called multiple times
> at runtime and the messages are shown on the console. Display clk mul,
> gck rate and clk base for debug porpose only.
>
> Signed-off-by: Cristian Birsan <cristian.birsan@microchip.com>
> Signed-off-by: Tudor Ambarus <tudor.ambarus@microchip.com>
Applied for next, thanks!
Kind regards
Uffe
> ---
> drivers/mmc/host/sdhci-of-at91.c | 4 ++--
> 1 file changed, 2 insertions(+), 2 deletions(-)
>
> diff --git a/drivers/mmc/host/sdhci-of-at91.c b/drivers/mmc/host/sdhci-of-at91.c
> index ab2bd314a390..88f17abb69a7 100644
> --- a/drivers/mmc/host/sdhci-of-at91.c
> +++ b/drivers/mmc/host/sdhci-of-at91.c
> @@ -204,8 +204,8 @@ static int sdhci_at91_set_clks_presets(struct device *dev)
> /* Set capabilities in ro mode. */
> writel(0, host->ioaddr + SDMMC_CACR);
>
> - dev_info(dev, "update clk mul to %u as gck rate is %u Hz and clk base is %u Hz\n",
> - clk_mul, gck_rate, clk_base_rate);
> + dev_dbg(dev, "update clk mul to %u as gck rate is %u Hz and clk base is %u Hz\n",
> + clk_mul, gck_rate, clk_base_rate);
>
> /*
> * We have to set preset values because it depends on the clk_mul
> --
> 2.23.0
^ permalink raw reply [flat|nested] 4+ messages in thread
end of thread, other threads:[~2020-03-13 23:04 UTC | newest]
Thread overview: 4+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2020-03-12 14:29 [PATCH] mmc: sdhci-of-at91: Display clock changes for debug purpose only Tudor.Ambarus
2020-03-12 14:55 ` Ludovic.Desroches
2020-03-13 7:18 ` Adrian Hunter
2020-03-13 23:03 ` Ulf Hansson
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox