wm8350.h 749 B

1234567891011121314151617181920212223242526272829
  1. /*
  2. * wm8350.h - WM8903 audio codec interface
  3. *
  4. * Copyright 2008 Wolfson Microelectronics PLC.
  5. *
  6. * This program is free software; you can redistribute it and/or modify it
  7. * under the terms of the GNU General Public License as published by the
  8. * Free Software Foundation; either version 2 of the License, or (at your
  9. * option) any later version.
  10. */
  11. #ifndef _WM8350_H
  12. #define _WM8350_H
  13. #include <sound/soc.h>
  14. #include <linux/mfd/wm8350/audio.h>
  15. extern struct snd_soc_dai wm8350_dai;
  16. extern struct snd_soc_codec_device soc_codec_dev_wm8350;
  17. enum wm8350_jack {
  18. WM8350_JDL = 1,
  19. WM8350_JDR = 2,
  20. };
  21. int wm8350_hp_jack_detect(struct snd_soc_codec *codec, enum wm8350_jack which,
  22. struct snd_soc_jack *jack, int report);
  23. #endif