Merge tag 'asoc-v3.10-2' of git://git.kernel.org/pub/scm/linux/kernel/git/broonie...
authorTakashi Iwai <tiwai@suse.de>
Thu, 18 Apr 2013 14:24:31 +0000 (16:24 +0200)
committerTakashi Iwai <tiwai@suse.de>
Thu, 18 Apr 2013 14:24:31 +0000 (16:24 +0200)
ASoC: More updates for v3.10

The main additional change here is Lars-Peter's DMA work plus the
platform conversions which have been tested - getting this in mainline
will make life easier for development after the merge window.  These
factor a large chunk of code out of the drivers for the platforms using
dmaengine, greatly simplifying development.

1  2 
include/sound/soc.h
sound/soc/fsl/fsl_ssi.c
sound/soc/fsl/imx-ssi.c
sound/soc/soc-core.c
sound/soc/spear/spear_pcm.c
sound/usb/quirks.c

Simple merge
Simple merge
Simple merge
index 7bf21a1035ea4ff5d5b970d58784db52191150c6,78468c64dd86d7287d2c053e615e5a8433668cd9..d56bbea6e75e60158405f45b1cf280f4d0fb9ac1
@@@ -3898,23 -3900,17 +3898,16 @@@ static void snd_soc_unregister_dais(str
        for (i = 0; i < count; i++)
                snd_soc_unregister_dai(dev);
  }
 -EXPORT_SYMBOL_GPL(snd_soc_unregister_dais);
  
  /**
-  * snd_soc_register_platform - Register a platform with the ASoC core
-  *
-  * @platform: platform to register
+  * snd_soc_add_platform - Add a platform to the ASoC core
+  * @dev: The parent device for the platform
+  * @platform: The platform to add
+  * @platform_driver: The driver for the platform
   */
- int snd_soc_register_platform(struct device *dev,
+ int snd_soc_add_platform(struct device *dev, struct snd_soc_platform *platform,
                const struct snd_soc_platform_driver *platform_drv)
  {
-       struct snd_soc_platform *platform;
-       dev_dbg(dev, "ASoC: platform register %s\n", dev_name(dev));
-       platform = kzalloc(sizeof(struct snd_soc_platform), GFP_KERNEL);
-       if (platform == NULL)
-               return -ENOMEM;
        /* create platform component name */
        platform->name = fmt_single_name(dev, &platform->id);
        if (platform->name == NULL) {
Simple merge
Simple merge