summaryrefslogtreecommitdiffstats
path: root/sound/soc/sh/rcar/ctu.c
diff options
context:
space:
mode:
authorKuninori Morimoto <kuninori.morimoto.gx@renesas.com>2015-10-15 03:25:28 +0000
committerMark Brown <broonie@kernel.org>2015-10-16 15:21:35 +0100
commit8a98b4223d0eab88bba5eb215b275da4ff6ed99c (patch)
treeb227401aade597cf54c3e604ac9674acaaf3c7d2 /sound/soc/sh/rcar/ctu.c
parent4362495734d155e10174ace9066827780edaed0d (diff)
downloadop-kernel-dev-8a98b4223d0eab88bba5eb215b275da4ff6ed99c.zip
op-kernel-dev-8a98b4223d0eab88bba5eb215b275da4ff6ed99c.tar.gz
ASoC: rsnd: Gen1 probe is not error
Probing from Gen1 is not error. This patch fixup it Signed-off-by: Kuninori Morimoto <kuninori.morimoto.gx@renesas.com> Signed-off-by: Mark Brown <broonie@kernel.org>
Diffstat (limited to 'sound/soc/sh/rcar/ctu.c')
-rw-r--r--sound/soc/sh/rcar/ctu.c6
1 files changed, 2 insertions, 4 deletions
diff --git a/sound/soc/sh/rcar/ctu.c b/sound/soc/sh/rcar/ctu.c
index a3e7c71..f1541f46 100644
--- a/sound/soc/sh/rcar/ctu.c
+++ b/sound/soc/sh/rcar/ctu.c
@@ -118,10 +118,8 @@ int rsnd_ctu_probe(struct platform_device *pdev,
int i, nr, ret;
/* This driver doesn't support Gen1 at this point */
- if (rsnd_is_gen1(priv)) {
- dev_warn(dev, "CTU is not supported on Gen1\n");
- return -EINVAL;
- }
+ if (rsnd_is_gen1(priv))
+ return 0;
rsnd_of_parse_ctu(pdev, of_data, priv);
OpenPOWER on IntegriCloud