[alsa-devel] [PATCH 1/3] ASoC: Remove redundant -codec from WM8903 driver name

Stephen Warren swarren at nvidia.com
Wed Feb 9 17:30:30 CET 2011


Mark Brown wrote at Wednesday, February 09, 2011 6:47 AM:
> It causes noisy -codecs to appear in things like .codec_name.
> 
> Signed-off-by: Mark Brown <broonie at opensource.wolfsonmicro.com>

Acked-by: Stephen Warren <swarren at nvidia.com>

> ---
>  sound/soc/codecs/wm8903.c |    2 +-
>  sound/soc/tegra/harmony.c |    2 +-
>  2 files changed, 2 insertions(+), 2 deletions(-)
> 
> diff --git a/sound/soc/codecs/wm8903.c b/sound/soc/codecs/wm8903.c
> index 27cd8f5..04c3256 100644
> --- a/sound/soc/codecs/wm8903.c
> +++ b/sound/soc/codecs/wm8903.c
> @@ -2134,7 +2134,7 @@ MODULE_DEVICE_TABLE(i2c, wm8903_i2c_id);
> 
>  static struct i2c_driver wm8903_i2c_driver = {
>  	.driver = {
> -		.name = "wm8903-codec",
> +		.name = "wm8903",
>  		.owner = THIS_MODULE,
>  	},
>  	.probe =    wm8903_i2c_probe,
> diff --git a/sound/soc/tegra/harmony.c b/sound/soc/tegra/harmony.c
> index 11e2cb8..d702abe 100644
> --- a/sound/soc/tegra/harmony.c
> +++ b/sound/soc/tegra/harmony.c
> @@ -189,7 +189,7 @@ static int harmony_asoc_init(struct
> snd_soc_pcm_runtime *rtd)
>  static struct snd_soc_dai_link harmony_wm8903_dai = {
>  	.name = "WM8903",
>  	.stream_name = "WM8903 PCM",
> -	.codec_name = "wm8903-codec.0-001a",
> +	.codec_name = "wm8903.0-001a",
>  	.platform_name = "tegra-pcm-audio",
>  	.cpu_dai_name = "tegra-i2s.0",
>  	.codec_dai_name = "wm8903-hifi",
> --
> 1.7.2.3

-- 
nvpublic



More information about the Alsa-devel mailing list