greybus: audio: Avoid using ARA keyword
It is suggested to avoid using ARA keyword externally. So we need to update GB codec driver. Also, codec name is currently set to 'gb-codec'. However, it makes more sense to name it as apb-dummy-codec, since it is used to control various audio modules connected to APB via greybus. Signed-off-by: Vaibhav Agarwal <vaibhav.agarwal@linaro.org> Reviewed-by: Mark Greer <mgreer@animalcreek.com> Signed-off-by: Greg Kroah-Hartman <gregkh@google.com>
This commit is contained in:
Родитель
92bcaddea3
Коммит
098dfaf45e
|
@ -1,5 +1,5 @@
|
||||||
/*
|
/*
|
||||||
* audio codec driver
|
* APBridge ALSA SoC dummy codec driver
|
||||||
* Copyright 2016 Google Inc.
|
* Copyright 2016 Google Inc.
|
||||||
* Copyright 2016 Linaro Ltd.
|
* Copyright 2016 Linaro Ltd.
|
||||||
*
|
*
|
||||||
|
@ -1203,13 +1203,13 @@ static int gbaudio_codec_remove(struct platform_device *pdev)
|
||||||
}
|
}
|
||||||
|
|
||||||
static const struct of_device_id greybus_asoc_machine_of_match[] = {
|
static const struct of_device_id greybus_asoc_machine_of_match[] = {
|
||||||
{ .compatible = "qcom,ara-codec", },
|
{ .compatible = "toshiba,apb-dummy-codec", },
|
||||||
{},
|
{},
|
||||||
};
|
};
|
||||||
|
|
||||||
static struct platform_driver gbaudio_codec_driver = {
|
static struct platform_driver gbaudio_codec_driver = {
|
||||||
.driver = {
|
.driver = {
|
||||||
.name = "gb-codec",
|
.name = "apb-dummy-codec",
|
||||||
.owner = THIS_MODULE,
|
.owner = THIS_MODULE,
|
||||||
#ifdef CONFIG_PM
|
#ifdef CONFIG_PM
|
||||||
.pm = &gbaudio_codec_pm_ops,
|
.pm = &gbaudio_codec_pm_ops,
|
||||||
|
@ -1221,7 +1221,7 @@ static struct platform_driver gbaudio_codec_driver = {
|
||||||
};
|
};
|
||||||
module_platform_driver(gbaudio_codec_driver);
|
module_platform_driver(gbaudio_codec_driver);
|
||||||
|
|
||||||
MODULE_DESCRIPTION("Greybus codec driver");
|
MODULE_DESCRIPTION("APBridge ALSA SoC dummy codec driver");
|
||||||
MODULE_AUTHOR("Vaibhav Agarwal <vaibhav.agarwal@linaro.org>");
|
MODULE_AUTHOR("Vaibhav Agarwal <vaibhav.agarwal@linaro.org>");
|
||||||
MODULE_LICENSE("GPL v2");
|
MODULE_LICENSE("GPL v2");
|
||||||
MODULE_ALIAS("platform:gbaudio-codec");
|
MODULE_ALIAS("platform:apb-dummy-codec");
|
||||||
|
|
Загрузка…
Ссылка в новой задаче