4 May
2011
4 May
'11
6:32 p.m.
On Wed, May 04, 2011 at 09:45:50PM +0800, Lu Guanqun wrote:
+void upd9976_jack_detection(struct snd_soc_jack *jack, u8 interrupt_status) +{
- int status = 0;
- unsigned int value = 0;
- struct snd_soc_codec *codec = jack->codec;
- int mask = SND_JACK_BTN_0 | SND_JACK_BTN_1 | SND_JACK_HEADSET;
- if (interrupt_status & 0x3)
value = snd_soc_read(codec, UPD9976_SAUXINT);
+EXPORT_SYMBOL_GPL(upd9976_jack_detection);
I'd expect that the driver would also manage the work to do with handling the interrupt as well.