Skip to contentSkip to conversation

extcon: arizona: Apply HP clamps correctly for WM8280

PATCH In review Charles Keepax 2 participants 2 messages Apr 30, 2015 – May 3, 2015 External connector subsystem (extcon)

lore
Share & tools
lore
#0 lore raw

PATCH 1/1 extcon: arizona: Apply HP clamps correctly for WM8280

The headphone clamping is not set correctly currently, this was missed because the wm8280 patches and the patch fixing the clamping for wm5110 went upstream at very similar times. This patch sets the headphone clamping correctly for wm8280.

---
 drivers/extcon/extcon-arizona.c |    1 +
 1 files changed, 1 insertions(+), 0 deletions(-)
drivers/extcon/extcon-arizona.c +1 -0
index 830c5f9..0342ba0 100644
@@ -145,6 +145,7 @@ static void arizona_extcon_hp_clamp(struct arizona_extcon_info *info,
 
 	switch (arizona->type) {
 	case WM5110:
+	case WM8280:
 		mask = ARIZONA_HP1L_SHRTO | ARIZONA_HP1L_FLWR |
 		       ARIZONA_HP1L_SHRTI;
 		if (clamp)
Signature · 1 line
1.7.2.5
#1 lore raw

Hi Charles,

Quoted 10 lines · Charles Keepax

The headphone clamping is not set correctly currently, this was missed because the wm8280 patches and the patch fixing the clamping for wm5110 went upstream at very similar times. This patch sets the headphone clamping correctly for wm8280.

---
 drivers/extcon/extcon-arizona.c |    1 +
 1 files changed, 1 insertions(+), 0 deletions(-)

Applied it.

Thanks,
Chanwoo Choi