Commit 8a98b422 authored by Kuninori Morimoto's avatar Kuninori Morimoto Committed by Mark Brown

ASoC: rsnd: Gen1 probe is not error

Probing from Gen1 is not error. This patch fixup it
Signed-off-by: default avatarKuninori Morimoto <kuninori.morimoto.gx@renesas.com>
Signed-off-by: default avatarMark Brown <broonie@kernel.org>
parent 43624957
...@@ -118,10 +118,8 @@ int rsnd_ctu_probe(struct platform_device *pdev, ...@@ -118,10 +118,8 @@ int rsnd_ctu_probe(struct platform_device *pdev,
int i, nr, ret; int i, nr, ret;
/* This driver doesn't support Gen1 at this point */ /* This driver doesn't support Gen1 at this point */
if (rsnd_is_gen1(priv)) { if (rsnd_is_gen1(priv))
dev_warn(dev, "CTU is not supported on Gen1\n"); return 0;
return -EINVAL;
}
rsnd_of_parse_ctu(pdev, of_data, priv); rsnd_of_parse_ctu(pdev, of_data, priv);
......
...@@ -333,10 +333,8 @@ int rsnd_dvc_probe(struct platform_device *pdev, ...@@ -333,10 +333,8 @@ int rsnd_dvc_probe(struct platform_device *pdev,
int i, nr, ret; int i, nr, ret;
/* This driver doesn't support Gen1 at this point */ /* This driver doesn't support Gen1 at this point */
if (rsnd_is_gen1(priv)) { if (rsnd_is_gen1(priv))
dev_warn(dev, "CMD is not supported on Gen1\n"); return 0;
return -EINVAL;
}
rsnd_of_parse_dvc(pdev, of_data, priv); rsnd_of_parse_dvc(pdev, of_data, priv);
......
...@@ -151,10 +151,8 @@ int rsnd_mix_probe(struct platform_device *pdev, ...@@ -151,10 +151,8 @@ int rsnd_mix_probe(struct platform_device *pdev,
int i, nr, ret; int i, nr, ret;
/* This driver doesn't support Gen1 at this point */ /* This driver doesn't support Gen1 at this point */
if (rsnd_is_gen1(priv)) { if (rsnd_is_gen1(priv))
dev_warn(dev, "MIX is not supported on Gen1\n"); return 0;
return -EINVAL;
}
rsnd_of_parse_mix(pdev, of_data, priv); rsnd_of_parse_mix(pdev, of_data, priv);
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment