From: Mark Brown Date: Fri, 24 Apr 2009 15:33:10 +0000 (+0100) Subject: ASoC: Fix S3C64xx IIS device registration and support both ports X-Git-Tag: v2.6.31-rc1~363^2~29^2~86 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=172fd9e26200668ebaf3e1d6d09b36d5d531bfa6;p=pandora-kernel.git ASoC: Fix S3C64xx IIS device registration and support both ports The S3C64xx IIS code had a number of problems with device registration. The hardware has two IIS ports of which the driver supported only one at once via a single exported DAI, attempting to identify the DAI to use based on the dev->id of the ASoC platform device. As well as limiting the driver to only supporting one IIS port at once this also meant that the ID of the soc-audio device (or in future the card device) had to match the IIS ID. Fix both problems by converting the driver to register the DAIs based on probing of platform devices registered by the arch/arm code, using those platform devices to interact with the clock API. Signed-off-by: Mark Brown --- Reading git-diff-tree failed