max98090.h (5e2aa2ed08e2e280121dc7cf5609c87d464f12ef) max98090.h (b8a3ee820f7b0802c9b90a9f3426dbda54e93d09)
1/*
2 * max98090.h -- MAX98090 ALSA SoC Audio driver
3 *
4 * Copyright 2011-2012 Maxim Integrated Products
5 *
6 * This program is free software; you can redistribute it and/or modify
7 * it under the terms of the GNU General Public License version 2 as
8 * published by the Free Software Foundation.

--- 1518 unchanged lines hidden (view full) ---

1527 struct clk *mclk;
1528 unsigned int sysclk;
1529 unsigned int bclk;
1530 unsigned int lrclk;
1531 struct max98090_cdata dai[1];
1532 int irq;
1533 int jack_state;
1534 struct delayed_work jack_work;
1/*
2 * max98090.h -- MAX98090 ALSA SoC Audio driver
3 *
4 * Copyright 2011-2012 Maxim Integrated Products
5 *
6 * This program is free software; you can redistribute it and/or modify
7 * it under the terms of the GNU General Public License version 2 as
8 * published by the Free Software Foundation.

--- 1518 unchanged lines hidden (view full) ---

1527 struct clk *mclk;
1528 unsigned int sysclk;
1529 unsigned int bclk;
1530 unsigned int lrclk;
1531 struct max98090_cdata dai[1];
1532 int irq;
1533 int jack_state;
1534 struct delayed_work jack_work;
1535 struct delayed_work pll_det_enable_work;
1536 struct work_struct pll_det_disable_work;
1537 struct work_struct pll_work;
1535 struct snd_soc_jack *jack;
1536 unsigned int dai_fmt;
1537 int tdm_slots;
1538 int tdm_width;
1539 u8 lin_state;
1540 unsigned int pa1en;
1541 unsigned int pa2en;
1542 unsigned int extmic_mux;
1543 unsigned int sidetone;
1544 bool master;
1545};
1546
1547int max98090_mic_detect(struct snd_soc_codec *codec,
1548 struct snd_soc_jack *jack);
1549
1550#endif
1538 struct snd_soc_jack *jack;
1539 unsigned int dai_fmt;
1540 int tdm_slots;
1541 int tdm_width;
1542 u8 lin_state;
1543 unsigned int pa1en;
1544 unsigned int pa2en;
1545 unsigned int extmic_mux;
1546 unsigned int sidetone;
1547 bool master;
1548};
1549
1550int max98090_mic_detect(struct snd_soc_codec *codec,
1551 struct snd_soc_jack *jack);
1552
1553#endif