3 Dec
2010
3 Dec
'10
11:44 a.m.
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.