Re: [PATCH 3/3] ASoC: SAMSUNG: Match spdif source clock id and asoc platform device

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

 



On Fri, Dec 3, 2010 at 6:37 PM, Seungwhan Youn <sw.youn@xxxxxxxxxxx> wrote:
> This patch modify to match ids between source clock id and asoc platform
> device that spdif driver can find sclk_audio0 with device id.
>
> Signed-off-by: Seungwhan Youn <sw.youn@xxxxxxxxxxx>
> ---
> Âsound/soc/s3c24xx/smdk_spdif.c | Â Â2 +-
> Â1 files changed, 1 insertions(+), 1 deletions(-)
>
> diff --git a/sound/soc/s3c24xx/smdk_spdif.c b/sound/soc/s3c24xx/smdk_spdif.c
> index 0e1fe60..b4ad231 100644
> --- a/sound/soc/s3c24xx/smdk_spdif.c
> +++ b/sound/soc/s3c24xx/smdk_spdif.c
> @@ -183,7 +183,7 @@ static int __init smdk_init(void)
> Â Â Â Âif (ret)
> Â Â Â Â Â Â Â Âgoto err2;
>
> - Â Â Â smdk_snd_spdif_device = platform_device_alloc("soc-audio", -1);
> + Â Â Â smdk_snd_spdif_device = platform_device_alloc("soc-audio", 0);

I think this is not appropriate.

Maybe you should do :-
  sclk_audio0 = clk_get(NULL, "sclk_audio");
_______________________________________________
Alsa-devel mailing list
Alsa-devel@xxxxxxxxxxxxxxxx
http://mailman.alsa-project.org/mailman/listinfo/alsa-devel



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

  Powered by Linux