Lines Matching +full:simple +full:- +full:audio +full:- +full:amplifier
1 // SPDX-License-Identifier: GPL-2.0-only
12 #define DRV_NAME "simple-amplifier"
21 struct snd_soc_component *c = snd_soc_dapm_to_component(w->dapm); in drv_event()
34 return -EINVAL; in drv_event()
37 gpiod_set_value_cansleep(priv->gpiod_enable, val); in drv_event()
70 struct device *dev = &pdev->dev; in simple_amp_probe()
75 return -ENOMEM; in simple_amp_probe()
78 priv->gpiod_enable = devm_gpiod_get_optional(dev, "enable", in simple_amp_probe()
80 if (IS_ERR(priv->gpiod_enable)) in simple_amp_probe()
81 return dev_err_probe(dev, PTR_ERR(priv->gpiod_enable), in simple_amp_probe()
92 { .compatible = "simple-audio-amplifier", },
108 MODULE_DESCRIPTION("ASoC Simple Audio Amplifier driver");