Re: [PATCH 13/15] ASoC: soc-core: remove legacy style of aux_dev

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



On 8/8/19 8:54 AM, Kuninori Morimoto wrote:
> 
> From: Kuninori Morimoto <kuninori.morimoto.gx@xxxxxxxxxxx>
> 
> Now all drivers are using snd_soc_dai_link_component for aux_dev.
> Let's remove legacy style
> 
> Signed-off-by: Kuninori Morimoto <kuninori.morimoto.gx@xxxxxxxxxxx>
> ---
>  include/sound/soc.h  | 9 ---------
>  sound/soc/soc-core.c | 6 ------
>  2 files changed, 15 deletions(-)
> 
> diff --git a/include/sound/soc.h b/include/sound/soc.h
> index 9dad2bf..ebc0645 100644
> --- a/include/sound/soc.h
> +++ b/include/sound/soc.h
> @@ -963,19 +963,10 @@ struct snd_soc_codec_conf {
>  };
>  
>  struct snd_soc_aux_dev {
> -	const char *name;		/* Codec name */
> -
>  	/*
>  	 * specify multi-codec either by device name, or by
>  	 * DT/OF node, but not both.
>  	 */
> -	const char *codec_name;
> -	struct device_node *codec_of_node;
> -
> -	/*
> -	 * name, codec_name, codec_of_node will be replaced
> -	 * into dlc. don't use both in the same time
> -	 */
>  	struct snd_soc_dai_link_component dlc;
>  
>  	/* codec/machine specific init - e.g. add machine controls */
> diff --git a/sound/soc/soc-core.c b/sound/soc/soc-core.c
> index ecaea88..8bfe421 100644
> --- a/sound/soc/soc-core.c
> +++ b/sound/soc/soc-core.c

Tested-by: Jarkko Nikula <jarkko.nikula@xxxxxxxxxx>
_______________________________________________
Alsa-devel mailing list
Alsa-devel@xxxxxxxxxxxxxxxx
https://mailman.alsa-project.org/mailman/listinfo/alsa-devel



[Index of Archives]     [ALSA User]     [Linux Audio Users]     [Pulse Audio]     [Kernel Archive]     [Asterisk PBX]     [Photo Sharing]     [Linux Sound]     [Video 4 Linux]     [Gimp]     [Yosemite News]

  Powered by Linux