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()
76 return -ENOMEM; in simple_amp_probe()
79 priv->gpiod_enable = devm_gpiod_get_optional(dev, "enable", in simple_amp_probe()
81 if (IS_ERR(priv->gpiod_enable)) { in simple_amp_probe()
82 err = PTR_ERR(priv->gpiod_enable); in simple_amp_probe()
83 if (err != -EPROBE_DEFER) in simple_amp_probe()
96 { .compatible = "simple-audio-amplifier", },
112 MODULE_DESCRIPTION("ASoC Simple Audio Amplifier driver");