Skip to content

Commit 7aa6d95

Browse files
morimotobroonie
authored andcommitted
ASoC: rsnd: adg: use __clk_get_name() instead of local clk_name[]
Current rsnd_adg_clk_dbg_info() is using locak clk_name[] to ndicating clk name, but we don't want to use local clk_name[] everywhere when we support R-Car Gen4 sound to handling non compatible clk naming. This patch uses __clk_get_name() instead of local clk_name[] for it. Signed-off-by: Kuninori Morimoto <[email protected]> Link: https://lore.kernel.org/r/[email protected] Signed-off-by: Mark Brown <[email protected]>
1 parent c5f8130 commit 7aa6d95

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

sound/soc/sh/rcar/adg.c

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -648,8 +648,8 @@ void rsnd_adg_clk_dbg_info(struct rsnd_priv *priv, struct seq_file *m)
648648
int i;
649649

650650
for_each_rsnd_clk(clk, adg, i)
651-
dbg_msg(dev, m, "%s : %pa : %ld\n",
652-
clk_name[i], clk, clk_get_rate(clk));
651+
dbg_msg(dev, m, "%-18s : %pa : %ld\n",
652+
__clk_get_name(clk), clk, clk_get_rate(clk));
653653

654654
dbg_msg(dev, m, "BRGCKR = 0x%08x, BRRA/BRRB = 0x%x/0x%x\n",
655655
adg->ckr, adg->rbga, adg->rbgb);

0 commit comments

Comments
 (0)