Re: [PATCH] ASoC: fsl: merge DAI call back functions into ops

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

 




On 8/21/23 18:10, Kuninori Morimoto wrote:
> ALSA SoC merges DAI call backs into .ops.
> This patch merge these into one.
> 
> Reported-by: kernel test robot <lkp@xxxxxxxxx>
> Closes: https://lore.kernel.org/oe-kbuild-all/202308152047.psX1QNDh-lkp@xxxxxxxxx/
> Cc: Randy Dunlap <rdunlap@xxxxxxxxxxxxx>
> Fixes: 446b31e89493 ("ASoC: soc-dai.h: remove unused call back functions")
> Signed-off-by: Kuninori Morimoto <kuninori.morimoto.gx@xxxxxxxxxxx>


Reported-by: Randy Dunlap <rdunlap@xxxxxxxxxxxxx>
Acked-by: Randy Dunlap <rdunlap@xxxxxxxxxxxxx>
Tested-by: Randy Dunlap <rdunlap@xxxxxxxxxxxxx> # build-tested

Thanks.

> ---
>  sound/soc/fsl/mpc5200_psc_ac97.c | 2 +-
>  1 file changed, 1 insertion(+), 1 deletion(-)
> 
> diff --git a/sound/soc/fsl/mpc5200_psc_ac97.c b/sound/soc/fsl/mpc5200_psc_ac97.c
> index 40a4a2667394..1671bcd4ee3d 100644
> --- a/sound/soc/fsl/mpc5200_psc_ac97.c
> +++ b/sound/soc/fsl/mpc5200_psc_ac97.c
> @@ -222,6 +222,7 @@ static int psc_ac97_probe(struct snd_soc_dai *cpu_dai)
>   * psc_ac97_dai_template: template CPU Digital Audio Interface
>   */
>  static const struct snd_soc_dai_ops psc_ac97_analog_ops = {
> +	.probe		= psc_ac97_probe,
>  	.hw_params	= psc_ac97_hw_analog_params,
>  	.trigger	= psc_ac97_trigger,
>  };
> @@ -233,7 +234,6 @@ static const struct snd_soc_dai_ops psc_ac97_digital_ops = {
>  static struct snd_soc_dai_driver psc_ac97_dai[] = {
>  {
>  	.name = "mpc5200-psc-ac97.0",
> -	.probe	= psc_ac97_probe,
>  	.playback = {
>  		.stream_name	= "AC97 Playback",
>  		.channels_min   = 1,

-- 
~Randy



[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