diff mbox

ASoC: hdmi-codec: fix spelling mistake: "deteced" -> "detected"

Message ID 20170514165321.6615-1-colin.king@canonical.com (mailing list archive)
State Accepted
Commit 0c343a35bfecdf26c7041781815f3b639a45d93a
Headers show

Commit Message

Colin King May 14, 2017, 4:53 p.m. UTC
From: Colin Ian King <colin.king@canonical.com>

Trivial fix to spelling mistake in dev_err message

Signed-off-by: Colin Ian King <colin.king@canonical.com>
---
 sound/soc/codecs/hdmi-codec.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

Comments

Kuninori Morimoto May 15, 2017, 12:57 a.m. UTC | #1
Hi Colin
Cc Mark

> From: Colin Ian King <colin.king@canonical.com>
> 
> Trivial fix to spelling mistake in dev_err message
> 
> Signed-off-by: Colin Ian King <colin.king@canonical.com>
> ---
>  sound/soc/codecs/hdmi-codec.c | 2 +-
>  1 file changed, 1 insertion(+), 1 deletion(-)
> 
> diff --git a/sound/soc/codecs/hdmi-codec.c b/sound/soc/codecs/hdmi-codec.c
> index 8c5ae1fc23a9..a3f15149afcf 100644
> --- a/sound/soc/codecs/hdmi-codec.c
> +++ b/sound/soc/codecs/hdmi-codec.c
> @@ -819,7 +819,7 @@ static int hdmi_codec_probe(struct platform_device *pdev)
>  	mutex_unlock(&hdmi_mutex);
>  
>  	if (hd->cnt >= ARRAY_SIZE(hdmi_dai_name)) {
> -		dev_err(dev, "too many hdmi codec are deteced\n");
> +		dev_err(dev, "too many hdmi codec are detected\n");
>  		return -EINVAL;
>  	}

Thank you for your patch.
Acked-by: Kuninori Morimoto <kuninori.morimoto.gx@renesas.com>

But, actually this feature (= detect many HDMI codec) is no longer needed.
And I will remove this feature soon.
The reason why I added this feature is that it was needed on previous synopsys
HDMI driver, but it exchanged probe style, so it is no longer needed.
And the reason why I didn't remove it until now is that it depends on OF-graph
sound card feature which was delayed by maintainer's review.

I can adjust (= remove feature patch) both with this patch / without this patch

Best regards
---
Kuninori Morimoto
diff mbox

Patch

diff --git a/sound/soc/codecs/hdmi-codec.c b/sound/soc/codecs/hdmi-codec.c
index 8c5ae1fc23a9..a3f15149afcf 100644
--- a/sound/soc/codecs/hdmi-codec.c
+++ b/sound/soc/codecs/hdmi-codec.c
@@ -819,7 +819,7 @@  static int hdmi_codec_probe(struct platform_device *pdev)
 	mutex_unlock(&hdmi_mutex);
 
 	if (hd->cnt >= ARRAY_SIZE(hdmi_dai_name)) {
-		dev_err(dev, "too many hdmi codec are deteced\n");
+		dev_err(dev, "too many hdmi codec are detected\n");
 		return -EINVAL;
 	}