summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorKuninori Morimoto <kuninori.morimoto.gx@renesas.com>2017-05-15 03:59:22 +0200
committerMark Brown <broonie@kernel.org>2017-05-17 11:26:28 +0200
commit1f6bbe64abd7dc1997fa31a9e550eadf170961d5 (patch)
treefb997dde395d4f167ae428f79270719728967bc5
parentASoC: rsnd: clkout-lr-asynchronous is AUDIO_CLKOUT related property (diff)
downloadlinux-1f6bbe64abd7dc1997fa31a9e550eadf170961d5.tar.xz
linux-1f6bbe64abd7dc1997fa31a9e550eadf170961d5.zip
ASoC: rsnd: remove error pointer for adg->clkout[i]
commit d7f298197a22f11b38059f257842dac7c30a564c ("ASoC: rcar: fixup of_clk_add_provider() usage for multi clkout") added adg->clkout[i] = ERR_PTR(-ENOENT), but, adg->clkout[i] are assumed NULL or clk pointer. This patch fix it. Signed-off-by: Kuninori Morimoto <kuninori.morimoto.gx@renesas.com> Signed-off-by: Mark Brown <broonie@kernel.org>
-rw-r--r--sound/soc/sh/rcar/adg.c1
1 files changed, 0 insertions, 1 deletions
diff --git a/sound/soc/sh/rcar/adg.c b/sound/soc/sh/rcar/adg.c
index cb4eab0e24ce..36bece8621b7 100644
--- a/sound/soc/sh/rcar/adg.c
+++ b/sound/soc/sh/rcar/adg.c
@@ -556,7 +556,6 @@ static void rsnd_adg_get_clkout(struct rsnd_priv *priv,
clk = clk_register_fixed_rate(dev, clkout_name[i],
parent_clk_name, 0,
req_rate[0]);
- adg->clkout[i] = ERR_PTR(-ENOENT);
if (!IS_ERR(clk))
adg->clkout[i] = clk;
}