Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit a08485d8 authored by Padmavathi Venna's avatar Padmavathi Venna Committed by Mark Brown
Browse files

ASoC: Samsung: Do not register samsung audio dma device as pdev



Previously, the ASoC 'platform' (PCM/DMA) object was instantiated via a
platform_device. This didn't represent the hardware well, since there
was no separate hardware associated with this platform_device; it was a
virtual device with sole purpose to call snd_soc_register_platform().

This change removes the platform_device completely. Each Samsung DAI now
registers the ASoC 'platform' itself. Machine drivers are adjusted for
the new 'platform' name.

Signed-off-by: default avatarPadmavathi Venna <padma.v@samsung.com>
Signed-off-by: default avatarMark Brown <broonie@opensource.wolfsonmicro.com>
parent 1974a042
Loading
Loading
Loading
Loading
+0 −1
Original line number Diff line number Diff line
@@ -147,7 +147,6 @@ static struct platform_device *armlex4210_devices[] __initdata = {
	&s3c_device_hsmmc3,
	&s3c_device_rtc,
	&s3c_device_wdt,
	&samsung_asoc_dma,
	&armlex4210_smsc911x,
	&exynos4_device_ahci,
};
+0 −1
Original line number Diff line number Diff line
@@ -311,7 +311,6 @@ static struct platform_device *smdkv310_devices[] __initdata = {
	&s5p_device_mfc_l,
	&s5p_device_mfc_r,
	&exynos4_device_spdif,
	&samsung_asoc_dma,
	&samsung_asoc_idma,
	&s5p_device_fimd0,
	&smdkv310_device_audio,
+0 −1
Original line number Diff line number Diff line
@@ -521,7 +521,6 @@ static struct platform_device *gta02_devices[] __initdata = {
	&gta02_nor_flash,
	&s3c24xx_pwm_device,
	&s3c_device_iis,
	&samsung_asoc_dma,
	&s3c_device_i2c0,
	&gta02_dfbmcs320_device,
	&gta02_buttons_device,
+0 −1
Original line number Diff line number Diff line
@@ -632,7 +632,6 @@ static struct platform_device *h1940_devices[] __initdata = {
	&s3c_device_wdt,
	&s3c_device_i2c0,
	&s3c_device_iis,
	&samsung_asoc_dma,
	&s3c_device_usbgadget,
	&h1940_device_leds,
	&h1940_device_bluetooth,
+0 −1
Original line number Diff line number Diff line
@@ -519,7 +519,6 @@ static struct platform_device *mini2440_devices[] __initdata = {
	&s3c_device_iis,
	&uda1340_codec,
	&mini2440_audio,
	&samsung_asoc_dma,
};

static void __init mini2440_map_io(void)
Loading