* [PATCH] Sound: rt5645: fix comments to show correct options.
@ 2020-02-25 22:14 chrisgorman
0 siblings, 0 replies; only message in thread
From: chrisgorman @ 2020-02-25 22:14 UTC (permalink / raw)
To: oder_chiou, perex, tiwai; +Cc: alsa-devel, linux-kernel, Chris Gorman
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
^ permalink raw reply [flat|nested] only message in thread
only message in thread, other threads:[~2020-02-25 22:24 UTC | newest]
Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2020-02-25 22:14 [PATCH] Sound: rt5645: fix comments to show correct options chrisgorman
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®