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

Seungwhan Youn claude.youn at gmail.com
Sat Dec 4 06:15:01 CET 2010

On Fri, Dec 3, 2010 at 8:44 PM, Mark Brown
<broonie at opensource.wolfsonmicro.com> wrote:
> On Fri, Dec 03, 2010 at 06:37:47PM +0900, Seungwhan Youn 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.
> Something's seriously wrong if you need to do this...
>> -     smdk_snd_spdif_device = platform_device_alloc("soc-audio", -1);
>> +     smdk_snd_spdif_device = platform_device_alloc("soc-audio", 0);
> ...the soc-audio device is a virtual device so should have no clocks
> associated with it.  The driver should not be using the platform device
> as an argument for clk_get() in the first place.

I see, I can clearly understand.
Thanks for your kindly reply. :)


More information about the Alsa-devel mailing list