Received: by 2002:a05:7412:f589:b0:e2:908c:2ebd with SMTP id eh9csp144273rdb; Tue, 31 Oct 2023 03:32:17 -0700 (PDT) X-Google-Smtp-Source: AGHT+IHRM9JU1olmOqy4DQUxJ3eazBFHanV+C2/lkuo0si/5SQ9l31bwOfed2XV7ZL5erRx6hOOz X-Received: by 2002:a05:6a20:a383:b0:17a:d173:42ef with SMTP id w3-20020a056a20a38300b0017ad17342efmr7528499pzk.20.1698748336870; Tue, 31 Oct 2023 03:32:16 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1698748336; cv=none; d=google.com; s=arc-20160816; b=yfghnI64/we+SliD7MJUv14SFEE2haxuxY9VcusExKO7TXOFODU9Bz8c4vn3Rn6cuI VxmUcg2xJHj3q6EDBo7DiC+yIeltSmPoXV20Sx6DYsSNq0DTO3zz/AgVEopClgOa828L iPfaLEUmZWFAAHSoTiffypP71wsO+MOCVbHQWZ0HPOc9Fh4eFJsWm9CrL6F77V0Oi9+f wVwJyfl72BNFXArPq22s+wP72wNdOqTvEihXt2A8TmfvanZOkjRWLp/1BNC0CUmJ6w+F e4UgH4f+u1QW2Yrw8JqitB+Whz8YpaashUTWnVnJxXJQ00ZQ1lzQzXVXgpFNk2qUQViB 57fg== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:content-transfer-encoding:mime-version :message-id:date:subject:cc:to:from:dkim-signature; bh=F09VthF3SOwL7AJzpPS1gMu9ksJqqw5f9cVnGbYgdxg=; fh=s9/DcyVSAl7dv4c3/ueP6M0QUnjEQOGs3o15EY5Z/WU=; b=YWPsdSDclDkSbDkjco5LB3kQbp/sEeYwMqCMMxm5LR+KrfrAh4jAfGqVsKZld1tIyC I9V1ObGgRo7LgBYMO33ouUTxBsLONMGJjfkF7XSGpLuQX3h+kI9Mecj1DJhjXelxYQuY vj/aBMK/ATTVlsFNznkfwgWL/AO0et5vOmqCh3wVaWdhVbwVFhSLW+HYaLqeEdzqKjmd cYw7QcqdJVX3phfkmXX8XHVjxv5thH1+OAV1OLHKvZU8H5bWmKMfvkacsYlHisAnAkQw Oz0f2P+pDDhFvBoPCV9GTsOM0JJBZ8YpIL41b75Yao3jAK+rJ9EQYXkt5VGIA9ra3eGU WnsA== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@collabora.com header.s=mail header.b=SAS7GJNI; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.36 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=QUARANTINE sp=QUARANTINE dis=NONE) header.from=collabora.com Return-Path: Received: from pete.vger.email (pete.vger.email. [23.128.96.36]) by mx.google.com with ESMTPS id s3-20020a17090330c300b001cc1a3e42d8si806464plc.324.2023.10.31.03.32.16 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Tue, 31 Oct 2023 03:32:16 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.36 as permitted sender) client-ip=23.128.96.36; Authentication-Results: mx.google.com; dkim=pass header.i=@collabora.com header.s=mail header.b=SAS7GJNI; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.36 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=QUARANTINE sp=QUARANTINE dis=NONE) header.from=collabora.com Received: from out1.vger.email (depot.vger.email [IPv6:2620:137:e000::3:0]) by pete.vger.email (Postfix) with ESMTP id D6400804C6C1; Tue, 31 Oct 2023 03:32:13 -0700 (PDT) X-Virus-Status: Clean X-Virus-Scanned: clamav-milter 0.103.10 at pete.vger.email Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1343928AbjJaKcH (ORCPT + 99 others); Tue, 31 Oct 2023 06:32:07 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:47190 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1343933AbjJaKcD (ORCPT ); Tue, 31 Oct 2023 06:32:03 -0400 Received: from madras.collabora.co.uk (madras.collabora.co.uk [IPv6:2a00:1098:0:82:1000:25:2eeb:e5ab]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id EA6BEFD; Tue, 31 Oct 2023 03:32:00 -0700 (PDT) Received: from eugen-station.. (cola.collaboradmins.com [195.201.22.229]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256) (No client certificate requested) (Authenticated sender: ehristev) by madras.collabora.co.uk (Postfix) with ESMTPSA id CA86E6607390; Tue, 31 Oct 2023 10:31:58 +0000 (GMT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=collabora.com; s=mail; t=1698748319; bh=snKMPEw3/sZymut9YKmskK4tpvE9vyUtyrcQQzMwW3g=; h=From:To:Cc:Subject:Date:From; b=SAS7GJNIQK8qjHN8XRik3kZcD9sZCZkLAl3ZTwDYA4pvOqVkjXXyjUtk43OuWY7Wg vvWrfQtDqiggNTVVpNKRAgMyHLIio/ULcMREQHw++q7xU9AUB0uMdj80jCMEGPgDwY gnbLmepTCgkAIXfTRQMjMDbXMlLbMjYiS4WrwhRPTWDmm01BaYQp/gpBBtOqeS0pCz d+Qb8LNoyvs1LaOCK3B5seqliWSRwh6o9S+W3XgwfSzwpEy22kJAMQHEwQMvjOLc9b YtfTdv+jCOBmpYtFX8xDQiAIMiKTaNPVWU4LlU82zBA7SA7yDsbDPGUHlKOforksXZ adNjdphnFv7Zw== From: Eugen Hristev To: broonie@kernel.org, jiaxin.yu@mediatek.com, linux-sound@vger.kernel.org Cc: matthias.bgg@gmail.com, angelogioacchino.delregno@collabora.com, linux-kernel@vger.kernel.org, linux-arm-kernel@lists.infradead.org, linux-mediatek@lists.infradead.org, kernel@collabora.com, Eugen Hristev Subject: [PATCH] ASoC: mediatek: mt8186_mt6366_rt1019_rt5682s: trivial: fix error messages Date: Tue, 31 Oct 2023 12:31:39 +0200 Message-Id: <20231031103139.77395-1-eugen.hristev@collabora.com> X-Mailer: git-send-email 2.34.1 MIME-Version: 1.0 Content-Transfer-Encoding: 8bit X-Spam-Status: No, score=-0.9 required=5.0 tests=DKIM_SIGNED,DKIM_VALID, DKIM_VALID_AU,HEADER_FROM_DIFFERENT_DOMAINS,MAILING_LIST_MULTI, SPF_HELO_NONE,SPF_PASS,T_SCC_BODY_TEXT_LINE autolearn=unavailable autolearn_force=no version=3.4.6 X-Spam-Checker-Version: SpamAssassin 3.4.6 (2021-04-09) on pete.vger.email Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org X-Greylist: Sender passed SPF test, not delayed by milter-greylist-4.6.4 (pete.vger.email [0.0.0.0]); Tue, 31 Oct 2023 03:32:14 -0700 (PDT) Property 'playback-codecs' is referenced as 'speaker-codec' in the error message, and this can lead to confusion. Correct the error message such that the correct property name is referenced. Fixes: 0da16e370dd7 ("ASoC: mediatek: mt8186: add machine driver with mt6366, rt1019 and rt5682s") Signed-off-by: Eugen Hristev --- sound/soc/mediatek/mt8186/mt8186-mt6366-rt1019-rt5682s.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/sound/soc/mediatek/mt8186/mt8186-mt6366-rt1019-rt5682s.c b/sound/soc/mediatek/mt8186/mt8186-mt6366-rt1019-rt5682s.c index 6dfcfcf47cab..f78197c8e582 100644 --- a/sound/soc/mediatek/mt8186/mt8186-mt6366-rt1019-rt5682s.c +++ b/sound/soc/mediatek/mt8186/mt8186-mt6366-rt1019-rt5682s.c @@ -1216,7 +1216,7 @@ static int mt8186_mt6366_rt1019_rt5682s_dev_probe(struct platform_device *pdev) playback_codec = of_get_child_by_name(pdev->dev.of_node, "playback-codecs"); if (!playback_codec) { ret = -EINVAL; - dev_err_probe(&pdev->dev, ret, "Property 'speaker-codecs' missing or invalid\n"); + dev_err_probe(&pdev->dev, ret, "Property 'playback-codecs' missing or invalid\n"); goto err_playback_codec; } @@ -1230,7 +1230,7 @@ static int mt8186_mt6366_rt1019_rt5682s_dev_probe(struct platform_device *pdev) for_each_card_prelinks(card, i, dai_link) { ret = mt8186_mt6366_card_set_be_link(card, dai_link, playback_codec, "I2S3"); if (ret) { - dev_err_probe(&pdev->dev, ret, "%s set speaker_codec fail\n", + dev_err_probe(&pdev->dev, ret, "%s set playback_codec fail\n", dai_link->name); goto err_probe; } -- 2.34.1