Searched refs:cur_button (Results 1 – 1 of 1) sorted by relevance
529 static int prev_button, cur_button; in es8326_jack_button_handler() local539 cur_button = SND_JACK_BTN_0; in es8326_jack_button_handler()543 cur_button = SND_JACK_BTN_1; in es8326_jack_button_handler()547 cur_button = SND_JACK_BTN_2; in es8326_jack_button_handler()551 cur_button = 0; in es8326_jack_button_handler()557 if ((prev_button == cur_button) && (cur_button != 0)) { in es8326_jack_button_handler()561 snd_soc_jack_report(es8326->jack, cur_button, in es8326_jack_button_handler()565 button_to_report = cur_button; in es8326_jack_button_handler()568 } else if (prev_button != cur_button) { in es8326_jack_button_handler()570 prev_button = cur_button; in es8326_jack_button_handler()