Quellcode-Bibliothek sof_nuvoton_common.c
Sprache: C
// SPDX-License-Identifier: GPL-2.0-only /* * This file defines data structures and functions used in Machine * Driver for Intel platforms with Nuvoton Codecs. * * Copyright 2023 Intel Corporation.
*/ #include <linux/module.h> #include <sound/sof.h> #include"sof_nuvoton_common.h"
ret = snd_soc_dapm_new_controls(&card->dapm, nau8318_widgets,
ARRAY_SIZE(nau8318_widgets)); if (ret) {
dev_err(rtd->dev, "fail to add nau8318 widgets, ret %d\n", ret); return ret;
}
ret = snd_soc_add_card_controls(card, nau8318_kcontrols,
ARRAY_SIZE(nau8318_kcontrols)); if (ret) {
dev_err(rtd->dev, "fail to add nau8318 kcontrols, ret %d\n", ret); return ret;
}
ret = snd_soc_dapm_add_routes(&card->dapm, nau8318_routes,
ARRAY_SIZE(nau8318_routes));
if (ret) {
dev_err(rtd->dev, "fail to add nau8318 routes, ret %d\n", ret); return ret;
}
MODULE_DESCRIPTION("ASoC Intel SOF Nuvoton helpers");
MODULE_LICENSE("GPL");
Messung V0.5
¤ Die Informationen auf dieser Webseite wurden
nach bestem Wissen sorgfältig zusammengestellt. Es wird jedoch weder Vollständigkeit, noch Richtigkeit,
noch Qualität der bereit gestellten Informationen zugesichert.0.0Bemerkung:
(vorverarbeitet)
¤
Die Informationen auf dieser Webseite wurden
nach bestem Wissen sorgfältig zusammengestellt. Es wird jedoch weder Vollständigkeit, noch Richtigkeit,
noch Qualität der bereit gestellten Informationen zugesichert.
Bemerkung:
Die farbliche Syntaxdarstellung und die Messung sind noch experimentell.