mirror of https://lore.kernel.org/lkml/
 help / color / mirror / Atom feed
From: chrisgorman@bell.net
To: oder_chiou@realtek.com, perex@perex.cz, tiwai@suse.com
Cc: alsa-devel@alsa-project.org, linux-kernel@vger.kernel.org,
	Chris Gorman <chrisjohgorman@gmail.com>
Subject: [PATCH] Sound: rt5645: fix comments to show correct options.
Date: Tue, 25 Feb 2020 17:14:56 -0500	[thread overview]
Message-ID: <20200225221456.16539-1-chrisjohgorman@gmail.com> (raw)

sound/soc/codecs/rt5645.h and
Documentation/devicetree/bindings/sound/rt5645.txt both show different
options for dmic1_data_pin and dmic2_data_pin than include/sound/rt5645.h.
Updating include/sound/rt5645.h comments to show the correct options for the
variables, per the other files.

Signed-off-by: Chris Gorman <chrisjohgorman@gmail.com>
---
 include/sound/rt5645.h | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/include/sound/rt5645.h b/include/sound/rt5645.h
index 39a77c7cea36..d6c5d3a0b7bf 100644
--- a/include/sound/rt5645.h
+++ b/include/sound/rt5645.h
@@ -13,9 +13,9 @@ struct rt5645_platform_data {
 	bool in2_diff;
 
 	unsigned int dmic1_data_pin;
-	/* 0 = IN2N; 1 = GPIO5; 2 = GPIO11 */
+	/* 0 = DMIC1_DISABLE; 1 = IN2P; 2 = GPIO6; 3 = GPIO10; 4 = GPIO12 */
 	unsigned int dmic2_data_pin;
-	/* 0 = IN2P; 1 = GPIO6; 2 = GPIO10; 3 = GPIO12 */
+	/* 0 = DMIC2_DISABLE; 1 = IN2N; 2 = GPIO5; 3 = GPIO11 */
 
 	unsigned int jd_mode;
 	/* Use level triggered irq */
-- 
2.24.1


                 reply	other threads:[~2020-02-25 22:24 UTC|newest]

Thread overview: [no followups] expand[flat|nested]  mbox.gz  Atom feed

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=20200225221456.16539-1-chrisjohgorman@gmail.com \
    --to=chrisgorman@bell.net \
    --cc=alsa-devel@alsa-project.org \
    --cc=chrisjohgorman@gmail.com \
    --cc=linux-kernel@vger.kernel.org \
    --cc=oder_chiou@realtek.com \
    --cc=perex@perex.cz \
    --cc=tiwai@suse.com \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox

all inboxes | Powered by JetHome®