linux/sound/soc
Lars-Peter Clausen 47e039413c ASoC: Add support for allocating AC'97 device before registering it
In some cases it is necessary to before additional operations after the
device has been initialized and before the device is registered. This can
for example be resetting the device.

This patch introduces a new function snd_soc_alloc_ac97_codec() which is
similar to snd_soc_new_ac97_codec() except that it does not register the
device. Any users of snd_soc_alloc_ac97_codec() are responsible for calling
device_add() manually.

Fixes: 6794f709b7 ("ASoC: ac97: Drop delayed device registration")
Reported-by: Manuel Lauss <manuel.lauss@gmail.com>
Signed-off-by: Lars-Peter Clausen <lars@metafoo.de>
Tested-by: Manuel Lauss <manuel.lauss@gmail.com>
Signed-off-by: Mark Brown <broonie@kernel.org>
Cc: stable@vger.kernel.org
2015-01-26 19:14:20 +00:00
..
adi ASoC: adi: drop owner assignment from platform_drivers 2014-10-20 16:22:03 +02:00
atmel sound fixes for 3.19-rc1 2014-12-19 18:07:17 -08:00
au1x Driver core patches for 3.19-rc1 2014-12-14 16:10:09 -08:00
bcm ASoC: bcm: drop owner assignment from platform_drivers 2014-10-20 16:22:04 +02:00
blackfin Driver core patches for 3.19-rc1 2014-12-14 16:10:09 -08:00
cirrus Driver core patches for 3.19-rc1 2014-12-14 16:10:09 -08:00
codecs sound fixes for 3.19-rc1 2014-12-19 18:07:17 -08:00
davinci Driver core patches for 3.19-rc1 2014-12-14 16:10:09 -08:00
dwc Driver core patches for 3.19-rc1 2014-12-14 16:10:09 -08:00
fsl More ACPI and power management updates for 3.19-rc1 2014-12-18 20:28:33 -08:00
generic Driver core patches for 3.19-rc1 2014-12-14 16:10:09 -08:00
intel CONFIG_PM_RUNTIME elimination for 3.19-rc1 2014-12-20 13:37:44 -08:00
jz4740 Driver core patches for 3.19-rc1 2014-12-14 16:10:09 -08:00
kirkwood ASoC: kirkwood: drop owner assignment from platform_drivers 2014-10-20 16:22:10 +02:00
mxs Driver core patches for 3.19-rc1 2014-12-14 16:10:09 -08:00
nuc900 Driver core patches for 3.19-rc1 2014-12-14 16:10:09 -08:00
omap Driver core patches for 3.19-rc1 2014-12-14 16:10:09 -08:00
pxa Driver core patches for 3.19-rc1 2014-12-14 16:10:09 -08:00
rockchip Driver core patches for 3.19-rc1 2014-12-14 16:10:09 -08:00
samsung sound fixes for 3.19-rc1 2014-12-19 18:07:17 -08:00
sh Driver core patches for 3.19-rc1 2014-12-14 16:10:09 -08:00
sirf ASoC: sirf: drop owner assignment from platform_drivers 2014-10-20 16:22:14 +02:00
spear ASoC: spear: drop owner assignment from platform_drivers 2014-10-20 16:22:14 +02:00
tegra Driver core patches for 3.19-rc1 2014-12-14 16:10:09 -08:00
txx9 Driver core patches for 3.19-rc1 2014-12-14 16:10:09 -08:00
ux500 Driver core patches for 3.19-rc1 2014-12-14 16:10:09 -08:00
Kconfig ASoC: s6000: remove driver 2014-10-20 11:03:52 +01:00
Makefile Merge remote-tracking branches 'asoc/topic/ac97', 'asoc/topic/ad193x', 'asoc/topic/adau1373' and 'asoc/topic/adau17x1' into asoc-next 2014-12-08 13:11:45 +00:00
soc-ac97.c ASoC: Add support for allocating AC'97 device before registering it 2015-01-26 19:14:20 +00:00
soc-cache.c ASoC: Remove snd_soc_cache_sync() implementation 2014-11-09 09:06:30 +00:00
soc-compress.c ASoC: soc-compress: consolidate two identical branches 2014-10-22 11:36:36 +01:00
soc-core.c Driver core patches for 3.19-rc1 2014-12-14 16:10:09 -08:00
soc-dapm.c ASoC: Remove card field from snd_soc_dai struct 2014-11-04 11:53:53 +00:00
soc-devres.c ASoC: Export devm_snd_soc_register_platform() 2014-04-22 22:00:42 +01:00
soc-generic-dmaengine-pcm.c ASoC: Consolidate platform and CODEC probe/remove 2014-08-19 10:59:45 -05:00
soc-io.c ASoC: Automatically initialize regmap for all components 2014-08-19 10:59:47 -05:00
soc-jack.c Merge remote-tracking branches 'asoc/topic/hdmi', 'asoc/topic/intel', 'asoc/topic/jack', 'asoc/topic/jz4740' and 'asoc/topic/lm49453' into asoc-next 2014-12-08 13:12:00 +00:00
soc-ops.c ASoC: core: Split ops out of soc-core.c 2014-10-29 11:15:10 +00:00
soc-pcm.c Merge remote-tracking branches 'asoc/topic/davinci', 'asoc/topic/doc', 'asoc/topic/dpcm', 'asoc/topic/dwc' and 'asoc/topic/fsi' into asoc-next 2014-12-08 13:11:56 +00:00
soc-utils.c ASoC: : drop owner assignment from platform_drivers 2014-10-20 16:22:02 +02:00