diff options
author | Vaibhav Agarwal <vaibhav.agarwal@linaro.org> | 2016-07-22 09:41:30 +0530 |
---|---|---|
committer | Greg Kroah-Hartman <gregkh@google.com> | 2016-07-22 10:26:01 -0700 |
commit | 098dfaf45e76442d032207d2023930c685ab7c2e (patch) | |
tree | abc43587c7042764890f3aeb7fed78fc2a0d9e0f /drivers/staging/greybus/audio_codec.c | |
parent | 92bcaddea3197e477bb37439805fcb5a2f9942d7 (diff) | |
download | op-kernel-dev-098dfaf45e76442d032207d2023930c685ab7c2e.zip op-kernel-dev-098dfaf45e76442d032207d2023930c685ab7c2e.tar.gz |
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>
Diffstat (limited to 'drivers/staging/greybus/audio_codec.c')
-rw-r--r-- | drivers/staging/greybus/audio_codec.c | 10 |
1 files changed, 5 insertions, 5 deletions
diff --git a/drivers/staging/greybus/audio_codec.c b/drivers/staging/greybus/audio_codec.c index 9c7bec7..d7679e6 100644 --- a/drivers/staging/greybus/audio_codec.c +++ b/drivers/staging/greybus/audio_codec.c @@ -1,5 +1,5 @@ /* - * audio codec driver + * APBridge ALSA SoC dummy codec driver * Copyright 2016 Google Inc. * 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[] = { - { .compatible = "qcom,ara-codec", }, + { .compatible = "toshiba,apb-dummy-codec", }, {}, }; static struct platform_driver gbaudio_codec_driver = { .driver = { - .name = "gb-codec", + .name = "apb-dummy-codec", .owner = THIS_MODULE, #ifdef CONFIG_PM .pm = &gbaudio_codec_pm_ops, @@ -1221,7 +1221,7 @@ static struct 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_LICENSE("GPL v2"); -MODULE_ALIAS("platform:gbaudio-codec"); +MODULE_ALIAS("platform:apb-dummy-codec"); |