Searched refs:gpio_state (Results 1 – 1 of 1) sorted by relevance
3270 int val, btn_type, gpio_state = 0, report = 0; in rt5645_jack_detect_work() local3280 gpio_state = gpiod_get_value(rt5645->gpiod_hp_det); in rt5645_jack_detect_work()3282 gpio_state ^= 1; in rt5645_jack_detect_work()3284 gpio_state); in rt5645_jack_detect_work()3285 report = rt5645_jack_detect(rt5645->component, gpio_state); in rt5645_jack_detect_work()