aboutsummaryrefslogtreecommitdiffstats
path: root/sound/soc/sh/rcar/dvc.c
diff options
context:
space:
mode:
Diffstat (limited to 'sound/soc/sh/rcar/dvc.c')
-rw-r--r--sound/soc/sh/rcar/dvc.c6
1 files changed, 2 insertions, 4 deletions
diff --git a/sound/soc/sh/rcar/dvc.c b/sound/soc/sh/rcar/dvc.c
index 8d8eee6350c9..e36c0ac3374b 100644
--- a/sound/soc/sh/rcar/dvc.c
+++ b/sound/soc/sh/rcar/dvc.c
@@ -333,10 +333,8 @@ int rsnd_dvc_probe(struct platform_device *pdev,
333 int i, nr, ret; 333 int i, nr, ret;
334 334
335 /* This driver doesn't support Gen1 at this point */ 335 /* This driver doesn't support Gen1 at this point */
336 if (rsnd_is_gen1(priv)) { 336 if (rsnd_is_gen1(priv))
337 dev_warn(dev, "CMD is not supported on Gen1\n"); 337 return 0;
338 return -EINVAL;
339 }
340 338
341 rsnd_of_parse_dvc(pdev, of_data, priv); 339 rsnd_of_parse_dvc(pdev, of_data, priv);
342 340