mmc: sdhci-of-at91: Display clock changes for debug purpose only
Subsystems (4)
PATCH 1/1 mmc: sdhci-of-at91: Display clock changes for debug purpose only
From: Cristian Birsan <[email protected]>
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.
--- drivers/mmc/host/sdhci-of-at91.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-)
drivers/mmc/host/sdhci-of-at91.c +2 -2
@@ -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
Signature · 1 line
2.23.0
Quoted 5 lines · On 3/12/2020 3:29 PM, Tudor Ambarus - M18064 wrote:
From: Cristian Birsan <[email protected]>
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
Quoted 3 lines
Signed-off-by Cristian Birsan <[email protected]>Signed-off-by Tudor Ambarus <[email protected]>
Thanks
Quoted 19 lines
--- drivers/mmc/host/sdhci-of-at91.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-)drivers/mmc/host/sdhci-of-at91.c +2
-2@@ -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
Quoted 8 lines · On 12/03/20 4:29 pm, [email protected] wrote:
From: Cristian Birsan <[email protected]>
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 <[email protected]>Signed-off-by Tudor Ambarus <[email protected]>
Quoted 20 lines
--- drivers/mmc/host/sdhci-of-at91.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-)drivers/mmc/host/sdhci-of-at91.c +2
-2@@ -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
Quoted 9 lines · On Thu, 12 Mar 2020 at 15:29, <[email protected]> wrote:
From: Cristian Birsan <[email protected]>
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 <[email protected]>Signed-off-by Tudor Ambarus <[email protected]>
Applied for next, thanks!
Kind regards
Uffe
Quoted 21 lines
--- drivers/mmc/host/sdhci-of-at91.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-)drivers/mmc/host/sdhci-of-at91.c +2
-3@@ -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