1 /* SPDX-License-Identifier: GPL-2.0-or-later * 1 /* SPDX-License-Identifier: GPL-2.0-or-later */ 2 /* 2 /* 3 * wm8350.h - WM8903 audio codec interface 3 * wm8350.h - WM8903 audio codec interface 4 * 4 * 5 * Copyright 2008 Wolfson Microelectronics PLC 5 * Copyright 2008 Wolfson Microelectronics PLC. 6 */ 6 */ 7 7 8 #ifndef _WM8350_H 8 #ifndef _WM8350_H 9 #define _WM8350_H 9 #define _WM8350_H 10 10 11 #include <sound/soc.h> 11 #include <sound/soc.h> 12 #include <linux/mfd/wm8350/audio.h> 12 #include <linux/mfd/wm8350/audio.h> 13 13 14 enum wm8350_jack { 14 enum wm8350_jack { 15 WM8350_JDL = 1, 15 WM8350_JDL = 1, 16 WM8350_JDR = 2, 16 WM8350_JDR = 2, 17 }; 17 }; 18 18 19 int wm8350_hp_jack_detect(struct snd_soc_compo 19 int wm8350_hp_jack_detect(struct snd_soc_component *component, enum wm8350_jack which, 20 struct snd_soc_jack 20 struct snd_soc_jack *jack, int report); 21 int wm8350_mic_jack_detect(struct snd_soc_comp 21 int wm8350_mic_jack_detect(struct snd_soc_component *component, 22 struct snd_soc_jack 22 struct snd_soc_jack *jack, 23 int detect_report, 23 int detect_report, int short_report); 24 24 25 #endif 25 #endif 26 26
Linux® is a registered trademark of Linus Torvalds in the United States and other countries.
TOMOYO® is a registered trademark of NTT DATA CORPORATION.