• Mark Brown's avatar
    ASoC: Fix S3C64xx IIS device registration and support both ports · 172fd9e2
    Mark Brown authored
    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: default avatarMark Brown <broonie@opensource.wolfsonmicro.com>
    172fd9e2
s3c64xx-i2s.c 6.31 KB