[<prev] [next>] [day] [month] [year] [list]
Message-Id: <20200225221456.16539-1-chrisjohgorman@gmail.com>
Date: Tue, 25 Feb 2020 17:14:56 -0500
From: chrisgorman@...l.net
To: oder_chiou@...ltek.com, perex@...ex.cz, tiwai@...e.com
Cc: alsa-devel@...a-project.org, linux-kernel@...r.kernel.org,
Chris Gorman <chrisjohgorman@...il.com>
Subject: [PATCH] Sound: rt5645: fix comments to show correct options.
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@...il.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
Powered by blists - more mailing lists