Searched refs:bdw_rt5677 (Results 1 – 1 of 1) sorted by relevance
32 struct bdw_rt5677_priv *bdw_rt5677 = snd_soc_card_get_drvdata(card); in bdw_rt5677_event_hp() local37 gpiod_set_value_cansleep(bdw_rt5677->gpio_hp_en, in bdw_rt5677_event_hp()228 struct bdw_rt5677_priv *bdw_rt5677 = in bdw_rt5677_init() local251 bdw_rt5677->gpio_hp_en = gpiod_get(component->dev, "headphone-enable", in bdw_rt5677_init()253 if (IS_ERR(bdw_rt5677->gpio_hp_en)) { in bdw_rt5677_init()255 return PTR_ERR(bdw_rt5677->gpio_hp_en); in bdw_rt5677_init()280 bdw_rt5677->component = component; in bdw_rt5677_init()288 struct bdw_rt5677_priv *bdw_rt5677 = in bdw_rt5677_exit() local295 if (!IS_ERR_OR_NULL(bdw_rt5677->gpio_hp_en)) in bdw_rt5677_exit()296 gpiod_put(bdw_rt5677->gpio_hp_en); in bdw_rt5677_exit()[all …]