Searched refs:the_mode (Results 1 – 1 of 1) sorted by relevance
1973 static void wm5100_set_detect_mode(struct wm5100_priv *wm5100, int the_mode) in wm5100_set_detect_mode() argument1975 struct wm5100_jack_mode *mode = &wm5100->pdata.jack_modes[the_mode]; in wm5100_set_detect_mode()1977 if (WARN_ON(the_mode >= ARRAY_SIZE(wm5100->pdata.jack_modes))) in wm5100_set_detect_mode()1990 wm5100->jack_mode = the_mode; in wm5100_set_detect_mode()