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]

 



>> - Â Â Â 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");

Yes, I think so, but without id, there is no way to find sclk_audio0
in current samsung s5p. Because, current sclk_audio0,1,2 is only to
distinguished by id not by name, and also all sclk_audio0's id for s5p
is '0' for now. So, I think that this modification is more batter to
modify all s5p's sclk_audio clock id to '-1'.
_______________________________________________
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