mirror of
https://github.com/torvalds/linux.git
synced 2026-05-28 17:13:52 +02:00
iio: dac: adi-axi-dac: define supported iio-backend capabilities
Backends support the buffer/enable capabilities so advertise it while registering in case a frontend makes checks for it. Reviewed-by: Nuno Sá <nuno.sa@analog.com> Reviewed-by: David Lechner <dlechner@baylibre.com> Signed-off-by: Tomas Melin <tomas.melin@vaisala.com> Signed-off-by: Jonathan Cameron <Jonathan.Cameron@huawei.com>
This commit is contained in:
parent
ed3be723b0
commit
9db3e8ddca
|
|
@ -869,11 +869,13 @@ static const struct iio_backend_ops axi_ad3552r_ops = {
|
|||
static const struct iio_backend_info axi_dac_generic = {
|
||||
.name = "axi-dac",
|
||||
.ops = &axi_dac_generic_ops,
|
||||
.caps = IIO_BACKEND_CAP_BUFFER | IIO_BACKEND_CAP_ENABLE,
|
||||
};
|
||||
|
||||
static const struct iio_backend_info axi_ad3552r = {
|
||||
.name = "axi-ad3552r",
|
||||
.ops = &axi_ad3552r_ops,
|
||||
.caps = IIO_BACKEND_CAP_BUFFER | IIO_BACKEND_CAP_ENABLE,
|
||||
};
|
||||
|
||||
static const struct regmap_config axi_dac_regmap_config = {
|
||||
|
|
|
|||
Loading…
Reference in New Issue
Block a user