Skip to contentSkip to conversation

Sound: rt5645: fix comments to show correct options.

PATCH New [email protected] 1 participant 1 message Feb 25, 2020

Subsystems (2)
lore
Share & tools
lore
#0 lore raw

PATCH 1/1 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.

---
 include/sound/rt5645.h | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)
include/sound/rt5645.h +2 -2
index 39a77c7cea36..d6c5d3a0b7bf 100644
@@ -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 */
Signature · 1 line
2.24.1