Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit 93ce0b26 authored by Meng Wang's avatar Meng Wang Committed by Tommy Webb
Browse files

Revert "ALSA: jack: Add support to report second microphone"



This reverts commit 98a387cd.
This change is not needed anymore as ANC is not supported.

Change-Id: I522971a59945a84a71d243120d2b43ac67f2ae7f
Signed-off-by: default avatarMeng Wang <mengw@codeaurora.org>
parent eda29358
Loading
Loading
Loading
Loading
+0 −3
Original line number Diff line number Diff line
@@ -61,9 +61,6 @@ enum snd_jack_types {
	SND_JACK_OC_HPHL        = 0x0040,
	SND_JACK_OC_HPHR        = 0x0080,
	SND_JACK_UNSUPPORTED    = 0x0100,
	SND_JACK_MICROPHONE2    = 0x0200,
	SND_JACK_ANC_HEADPHONE  = SND_JACK_HEADPHONE | SND_JACK_MICROPHONE |
				  SND_JACK_MICROPHONE2,

	/* Kept separate from switches to facilitate implementation */
	SND_JACK_BTN_0		= 0x8000,
+1 −2
Original line number Diff line number Diff line
@@ -800,8 +800,7 @@
#define SW_MACHINE_COVER	0x10  /* set = cover closed */
#define SW_HPHL_OVERCURRENT	0x11  /* set = over current on left hph */
#define SW_HPHR_OVERCURRENT	0x12  /* set = over current on right hph */
#define SW_MICROPHONE2_INSERT	0x13  /* set = inserted */
#define SW_UNSUPPORT_INSERT	0x14  /* set = unsupported device inserted */
#define SW_UNSUPPORT_INSERT	0x13  /* set = unsupported device inserted */
#define SW_MAX			0x20
#define SW_CNT			(SW_MAX+1)

+0 −1
Original line number Diff line number Diff line
@@ -43,7 +43,6 @@ static int jack_switch_types[] = {
	SW_HPHL_OVERCURRENT,
	SW_HPHR_OVERCURRENT,
	SW_UNSUPPORT_INSERT,
	SW_MICROPHONE2_INSERT,
};
#endif /* CONFIG_SND_JACK_INPUT_DEV */