treewide: remove redundant IS_ERR() before error code check
[linux/fpc-iii.git] / sound / soc / codecs / wm8350.h
bloba13d18c92d4bd6587f4c8a618626bf689d29590f
1 /* SPDX-License-Identifier: GPL-2.0-or-later */
2 /*
3 * wm8350.h - WM8903 audio codec interface
5 * Copyright 2008 Wolfson Microelectronics PLC.
6 */
8 #ifndef _WM8350_H
9 #define _WM8350_H
11 #include <sound/soc.h>
12 #include <linux/mfd/wm8350/audio.h>
14 enum wm8350_jack {
15 WM8350_JDL = 1,
16 WM8350_JDR = 2,
19 int wm8350_hp_jack_detect(struct snd_soc_component *component, enum wm8350_jack which,
20 struct snd_soc_jack *jack, int report);
21 int wm8350_mic_jack_detect(struct snd_soc_component *component,
22 struct snd_soc_jack *jack,
23 int detect_report, int short_report);
25 #endif