[alsa-devel] [PATCH 3/3] ASoC: SAMSUNG: Match spdif source clock id and asoc platform device
broonie at opensource.wolfsonmicro.com
Fri Dec 3 12:44:17 CET 2010
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.
More information about the Alsa-devel