Home
last modified time | relevance | path

Searched refs:wm1250 (Results 1 – 2 of 2) sorted by relevance

/openbmc/linux/sound/soc/codecs/
H A Dwm1250-ev1.c36 if (wm1250) in wm1250_ev1_set_bias_level()
37 ena = wm1250->gpios[WM1250_EV1_GPIO_CLK_ENA].gpio; in wm1250_ev1_set_bias_level()
152 struct wm1250_priv *wm1250; in wm1250_ev1_pdata() local
158 wm1250 = devm_kzalloc(&i2c->dev, sizeof(*wm1250), GFP_KERNEL); in wm1250_ev1_pdata()
159 if (!wm1250) { in wm1250_ev1_pdata()
165 wm1250->gpios[i].gpio = pdata->gpios[i]; in wm1250_ev1_pdata()
167 wm1250->gpios[i].flags = GPIOF_OUT_INIT_LOW; in wm1250_ev1_pdata()
172 ret = gpio_request_array(wm1250->gpios, ARRAY_SIZE(wm1250->gpios)); in wm1250_ev1_pdata()
178 dev_set_drvdata(&i2c->dev, wm1250); in wm1250_ev1_pdata()
190 if (wm1250) in wm1250_ev1_free()
[all …]
H A DMakefile315 snd-soc-wm1250-ev1-objs := wm1250-ev1.o
700 obj-$(CONFIG_SND_SOC_WM1250_EV1) += snd-soc-wm1250-ev1.o