mirror of
https://github.com/BobTheBlinker/android_kernel_motorola_sm6375.git
synced 2026-10-24 21:54:34 -04:00
Merge remote-tracking branch 'asoc/topic/wm8994' into asoc-next
This commit is contained in:
commit
faa9c2a798
6 changed files with 174 additions and 134 deletions
|
|
@ -19,6 +19,8 @@
|
|||
#include <linux/interrupt.h>
|
||||
#include <linux/regmap.h>
|
||||
|
||||
#include <linux/mfd/wm8994/pdata.h>
|
||||
|
||||
enum wm8994_type {
|
||||
WM8994 = 0,
|
||||
WM8958 = 1,
|
||||
|
|
@ -55,6 +57,8 @@ struct regulator_bulk_data;
|
|||
struct wm8994 {
|
||||
struct mutex irq_lock;
|
||||
|
||||
struct wm8994_pdata pdata;
|
||||
|
||||
enum wm8994_type type;
|
||||
int revision;
|
||||
int cust_id;
|
||||
|
|
|
|||
|
|
@ -176,6 +176,11 @@ struct wm8994_pdata {
|
|||
unsigned int lineout1fb:1;
|
||||
unsigned int lineout2fb:1;
|
||||
|
||||
/* Delay between detecting a jack and starting microphone
|
||||
* detect (specified in ms)
|
||||
*/
|
||||
int micdet_delay;
|
||||
|
||||
/* IRQ for microphone detection if brought out directly as a
|
||||
* signal.
|
||||
*/
|
||||
|
|
|
|||
Loading…
Reference in a new issue