On Fri, Oct 30, 2020 at 6:55 PM Ajye Huang <ajye_huang at compal.corp-partner.google.com> wrote: > But dmic_get() will need dmic_switch, should i keep dmic_switch? I see. I overlooked it. You can keep the dmic_switch for this purpose or just call gpiod_get_value_cansleep().