ASoC: SAMSUNG: Code clean-up suitable for current ASoC
Subsystems (3)
cover ASoC: SAMSUNG: Code clean-up suitable for current ASoC
Hi,
This patch remove(or move) unnecessary or un-suitable features on current ASoC for all Samsung audio drivers and its supports. After multi-component model patch, ASoC core part controls dai_links instead of _hard_wired_ dai links on machine drivers. Due to apply this model, many machine drivers don't need codecs and platforms includes to make _hard_wired_ dai_links. And also, ASoC core header file 'sound/soc.h' has basic includes for device driver, so many of includes in each machine/platform driver are duplicated and not essentially needed.
So, this patch-set check each platform/machine drivers' includes and definitions are suitable or not, remove unnecessary features with compile tests.
These patches are modify below features:-
o Remove unnecessary 'ac97.h' header file.
o Move each specific definitions, not to be shared by header files.
o Clean-up unnecessary header includes.
This patch-set is based on two different branches that :-
o ASoC patches are based on Mark Brown's git branch 'for-next' (commit id - f6c2ed5dd6ab43447dacc136585fc894e3f3a82d)
This patch-set contains followings :-
o [PATCH 1/4] ASoC: SAMSUNG: Remove AC97 header file
o [PATCH 2/4] ASoC: SAMSUNG: Clean-up DMA header file
o [PATCH 3/4] ASoC: SAMSUNG: Move PCM specific definitions into pcm.c
o [PATCH 4/4] ASoC: SAMSUNG: Clean-up header includes
Thanks,
Claude(Seungwhan Youn)
PATCH 1/4 ASoC: SAMSUNG: Remove AC97 header file
This patch moves AC97 specific definitions, they doesn't need to be shared, into 'ac97.c' from 'ac97.h'. This patch also remove header file, 'ac97.h', and remove includes on machine drivers.
--- sound/soc/samsung/ac97.c | 4 +++- sound/soc/samsung/ac97.h | 21 --------------------- sound/soc/samsung/ln2440sbc_alc650.c | 1 - sound/soc/samsung/smdk2443_wm9710.c | 1 - sound/soc/samsung/smdk_wm9713.c | 1 - 5 files changed, 3 insertions(+), 25 deletions(-) delete mode 100644 sound/soc/samsung/ac97.h
sound/soc/samsung/ac97.c +3 -1
@@ -25,11 +25,13 @@#include <plat/audio.h> #include "dma.h" -#include "ac97.h" #define AC_CMD_ADDR (x) (x << 16)#define AC_CMD_DATA (x) (x & 0xffff) +#define S3C_AC97_DAI_PCM 0 +#define S3C_AC97_DAI_MIC 1 +struct s3c_ac97_info {struct clk *ac97_clk;void __iomem *regs;
sound/soc/samsung/ac97.h deleted +0 -21
@@ -1,21 +0,0 @@ -/* sound/soc/samsung/ac97.h -* -* ALSA SoC Audio Layer - S3C AC97 Controller driver -* Evolved from s3c2443-ac97.h -* -* Copyright (c) 2010 Samsung Electronics Co. Ltd -* Author: Jaswinder Singh <[email protected]> -* Credits: Graeme Gregory, Sean Choi -* -* This program is free software; you can redistribute it and/or modify -* it under the terms of the GNU General Public License version 2 as -* published by the Free Software Foundation. -*/ - -#ifndef __S3C_AC97_H_ -#define __S3C_AC97_H_ - -#define S3C_AC97_DAI_PCM 0 -#define S3C_AC97_DAI_MIC 1 - -#endif /* __S3C_AC97_H_ */
sound/soc/samsung/ln2440sbc_alc650.c +0 -1
@@ -23,7 +23,6 @@#include <sound/soc.h> #include "dma.h" -#include "ac97.h" static struct snd_soc_card ln2440sbc;
sound/soc/samsung/smdk2443_wm9710.c +0 -1
@@ -19,7 +19,6 @@#include <sound/soc.h> #include "dma.h" -#include "ac97.h" static struct snd_soc_card smdk2443;
sound/soc/samsung/smdk_wm9713.c +0 -1
@@ -16,7 +16,6 @@#include <sound/soc.h> #include "dma.h" -#include "ac97.h" static struct snd_soc_card smdk;
Signature · 1 line
1.6.2.5
PATCH 2/4 ASoC: SAMSUNG: Clean-up DMA header file
This patch moves DMA specific definitions, they doesn't need to be shared, into 'dma.c' from 'dma.h'. And remove unnecessery definitions on 'dma.h'.
--- sound/soc/samsung/dma.c | 3 +++ sound/soc/samsung/dma.h | 8 -------- 2 files changed, 3 insertions(+), 8 deletions(-)
sound/soc/samsung/dma.c +3 -0
@@ -32,6 +32,9 @@#include "dma.h" +#define ST_RUNNING (1<<0) +#define ST_OPENED (1<<1) +static const struct snd_pcm_hardware dma_hardware = { .info =SNDRV_PCM_INFO_INTERLEAVED | SNDRV_PCM_INFO_BLOCK_TRANSFER |
sound/soc/samsung/dma.h +0 -8
@@ -12,9 +12,6 @@ #ifndef _S3C_AUDIO_H #define _S3C_AUDIO_H -#define ST_RUNNING (1<<0) -#define ST_OPENED (1<<1) - struct s3c_dma_params { struct s3c2410_dma_client *client; /* stream identifier */ int channel; /* Channel ID */
@@ -22,9 +19,4 @@ struct s3c_dma_params { int dma_size; /* Size of the DMA transfer */ }; -#define S3C24XX_DAI_I2S 0 - -/* platform data */ -extern struct snd_ac97_bus_ops s3c24xx_ac97_ops; -#endif
Signature · 1 line
1.6.2.5
Re: [PATCH 2/4] ASoC: SAMSUNG: Clean-up DMA header file
Quoted 5 lines · Seungwhan Youn
This patch moves DMA specific definitions, they doesn't need to be shared, into '
dma.c' from 'dma.h'. And remove unnecessery definitions on 'dma.h'.Signed-off-by Seungwhan Youn <[email protected]>
Re: [PATCH 1/4] ASoC: SAMSUNG: Remove AC97 header file
In reply to Seungwhan YounQuoted 3 lines · Seungwhan Youn
This patch moves AC97 specific definitions, they doesn't need to be shared, into '
ac97.c' from 'ac97.h'. This patch also remove header file, 'ac97.h', and remove includes on machine drivers.
PATCH 3/4 ASoC: SAMSUNG: Move PCM specific definitions into pcm.c
In reply to Seungwhan YounThis patch moves PCM specific definitions, they doesn't need to be shared, into 'pcm.c' from 'pcm.h'.
--- sound/soc/samsung/pcm.c | 107 +++++++++++++++++++++++++++++++++++++++++++++++ sound/soc/samsung/pcm.h | 107 ----------------------------------------------- 2 files changed, 107 insertions(+), 107 deletions(-)
sound/soc/samsung/pcm.c +107 -0
@@ -32,6 +32,113 @@#include "dma.h" #include "pcm.h" +/*Register Offsets */ +#define S3C_PCM_CTL 0x00 +#define S3C_PCM_CLKCTL 0x04 +#define S3C_PCM_TXFIFO 0x08 +#define S3C_PCM_RXFIFO 0x0C +#define S3C_PCM_IRQCTL 0x10 +#define S3C_PCM_IRQSTAT 0x14 +#define S3C_PCM_FIFOSTAT 0x18 +#define S3C_PCM_CLRINT 0x20 + +/* PCM_CTL Bit-Fields */ +#define S3C_PCM_CTL_TXDIPSTICK_MASK 0x3f +#define S3C_PCM_CTL_TXDIPSTICK_SHIFT 13 +#define S3C_PCM_CTL_RXDIPSTICK_MASK 0x3f +#define S3C_PCM_CTL_RXDIPSTICK_SHIFT 7 +#define S3C_PCM_CTL_TXDMA_EN (0x1 << 6) +#define S3C_PCM_CTL_RXDMA_EN (0x1 << 5) +#define S3C_PCM_CTL_TXMSB_AFTER_FSYNC (0x1 << 4) +#define S3C_PCM_CTL_RXMSB_AFTER_FSYNC (0x1 << 3) +#define S3C_PCM_CTL_TXFIFO_EN (0x1 << 2) +#define S3C_PCM_CTL_RXFIFO_EN (0x1 << 1) +#define S3C_PCM_CTL_ENABLE (0x1 << 0) + +/* PCM_CLKCTL Bit-Fields */ +#define S3C_PCM_CLKCTL_SERCLK_EN (0x1 << 19) +#define S3C_PCM_CLKCTL_SERCLKSEL_PCLK (0x1 << 18) +#define S3C_PCM_CLKCTL_SCLKDIV_MASK 0x1ff +#define S3C_PCM_CLKCTL_SYNCDIV_MASK 0x1ff +#define S3C_PCM_CLKCTL_SCLKDIV_SHIFT 9 +#define S3C_PCM_CLKCTL_SYNCDIV_SHIFT 0 + +/* PCM_TXFIFO Bit-Fields */ +#define S3C_PCM_TXFIFO_DVALID (0x1 << 16) +#define S3C_PCM_TXFIFO_DATA_MSK (0xffff << 0) + +/* PCM_RXFIFO Bit-Fields */ +#define S3C_PCM_RXFIFO_DVALID (0x1 << 16) +#define S3C_PCM_RXFIFO_DATA_MSK (0xffff << 0) + +/* PCM_IRQCTL Bit-Fields */ +#define S3C_PCM_IRQCTL_IRQEN (0x1 << 14) +#define S3C_PCM_IRQCTL_WRDEN (0x1 << 12) +#define S3C_PCM_IRQCTL_TXEMPTYEN (0x1 << 11) +#define S3C_PCM_IRQCTL_TXALMSTEMPTYEN (0x1 << 10) +#define S3C_PCM_IRQCTL_TXFULLEN (0x1 << 9) +#define S3C_PCM_IRQCTL_TXALMSTFULLEN (0x1 << 8) +#define S3C_PCM_IRQCTL_TXSTARVEN (0x1 << 7) +#define S3C_PCM_IRQCTL_TXERROVRFLEN (0x1 << 6) +#define S3C_PCM_IRQCTL_RXEMPTEN (0x1 << 5) +#define S3C_PCM_IRQCTL_RXALMSTEMPTEN (0x1 << 4) +#define S3C_PCM_IRQCTL_RXFULLEN (0x1 << 3) +#define S3C_PCM_IRQCTL_RXALMSTFULLEN (0x1 << 2) +#define S3C_PCM_IRQCTL_RXSTARVEN (0x1 << 1) +#define S3C_PCM_IRQCTL_RXERROVRFLEN (0x1 << 0) + +/* PCM_IRQSTAT Bit-Fields */ +#define S3C_PCM_IRQSTAT_IRQPND (0x1 << 13) +#define S3C_PCM_IRQSTAT_WRD_XFER (0x1 << 12) +#define S3C_PCM_IRQSTAT_TXEMPTY (0x1 << 11) +#define S3C_PCM_IRQSTAT_TXALMSTEMPTY (0x1 << 10) +#define S3C_PCM_IRQSTAT_TXFULL (0x1 << 9) +#define S3C_PCM_IRQSTAT_TXALMSTFULL (0x1 << 8) +#define S3C_PCM_IRQSTAT_TXSTARV (0x1 << 7) +#define S3C_PCM_IRQSTAT_TXERROVRFL (0x1 << 6) +#define S3C_PCM_IRQSTAT_RXEMPT (0x1 << 5) +#define S3C_PCM_IRQSTAT_RXALMSTEMPT (0x1 << 4) +#define S3C_PCM_IRQSTAT_RXFULL (0x1 << 3) +#define S3C_PCM_IRQSTAT_RXALMSTFULL (0x1 << 2) +#define S3C_PCM_IRQSTAT_RXSTARV (0x1 << 1) +#define S3C_PCM_IRQSTAT_RXERROVRFL (0x1 << 0) + +/* PCM_FIFOSTAT Bit-Fields */ +#define S3C_PCM_FIFOSTAT_TXCNT_MSK (0x3f << 14) +#define S3C_PCM_FIFOSTAT_TXFIFOEMPTY (0x1 << 13) +#define S3C_PCM_FIFOSTAT_TXFIFOALMSTEMPTY (0x1 << 12) +#define S3C_PCM_FIFOSTAT_TXFIFOFULL (0x1 << 11) +#define S3C_PCM_FIFOSTAT_TXFIFOALMSTFULL (0x1 << 10) +#define S3C_PCM_FIFOSTAT_RXCNT_MSK (0x3f << 4) +#define S3C_PCM_FIFOSTAT_RXFIFOEMPTY (0x1 << 3) +#define S3C_PCM_FIFOSTAT_RXFIFOALMSTEMPTY (0x1 << 2) +#define S3C_PCM_FIFOSTAT_RXFIFOFULL (0x1 << 1) +#define S3C_PCM_FIFOSTAT_RXFIFOALMSTFULL (0x1 << 0) + +/** +* struct s3c_pcm_info - S3C PCM Controller information +* @dev: The parent device passed to use from the probe. +* @regs: The pointer to the device register block. +* @dma_playback: DMA information for playback channel. +* @dma_capture: DMA information for capture channel. +*/ +struct s3c_pcm_info { +spinlock_t lock; +struct device *dev; +void __iomem *regs; + +unsigned int sclk_per_fs; + +/* Whether to keep PCMSCLK enabled even when idle(no active xfer) */ +unsigned int idleclk; + +struct clk *pclk; +struct clk *cclk; + +struct s3c_dma_params *dma_playback; +struct s3c_dma_params *dma_capture; +}; +static struct s3c2410_dma_client s3c_pcm_dma_client_out = { .name ="PCM Stereo out" };
sound/soc/samsung/pcm.h +0 -107
116 lines not on this page · raw message
Signature · 1 line
1.6.2.5
Re: [PATCH 3/4] ASoC: SAMSUNG: Move PCM specific definitions into pcm.c
Quoted 4 lines · Seungwhan Youn
This patch moves PCM specific definitions, they doesn't need to be shared, into '
pcm.c' from 'pcm.h'.Signed-off-by Seungwhan Youn <[email protected]>
PATCH 4/4 ASoC: SAMSUNG: Clean-up header includes
In reply to Seungwhan YounThis patch remove including unnecessary/duplicated headers which relative with Samsung SoCs.
--- sound/soc/samsung/ac97.c | 8 +++----- sound/soc/samsung/dma.c | 12 +++--------- sound/soc/samsung/goni_wm8994.c | 10 +--------- sound/soc/samsung/h1940_uda1380.c | 11 +---------- sound/soc/samsung/i2s.c | 7 +++---- sound/soc/samsung/jive_wm8750.c | 11 ----------- sound/soc/samsung/ln2440sbc_alc650.c | 6 ------ sound/soc/samsung/neo1973_gta02_wm8753.c | 15 ++------------- sound/soc/samsung/pcm.c | 15 +++------------ sound/soc/samsung/rx1950_uda1380.c | 14 +------------- sound/soc/samsung/s3c-i2s-v2.c | 7 +++---- sound/soc/samsung/s3c2412-i2s.c | 16 +++------------- sound/soc/samsung/s3c24xx-i2s.c | 18 +++--------------- sound/soc/samsung/s3c24xx_simtec.c | 12 ++---------- sound/soc/samsung/s3c24xx_simtec_hermes.c | 10 ---------- sound/soc/samsung/s3c24xx_simtec_tlv320aic23.c | 12 ------------ sound/soc/samsung/s3c24xx_uda134x.c | 12 ++---------- sound/soc/samsung/smartq_wm8987.c | 9 +-------- sound/soc/samsung/smdk2443_wm9710.c | 6 ------ sound/soc/samsung/smdk_spdif.c | 9 ++------- sound/soc/samsung/smdk_wm8580.c | 7 +------ sound/soc/samsung/smdk_wm9713.c | 4 ---- sound/soc/samsung/spdif.c | 7 +++---- 23 files changed, 37 insertions(+), 201 deletions(-)
sound/soc/samsung/ac97.c +3 -5
@@ -12,16 +12,14 @@* published by the Free Software Foundation. */ -#include <linux/init.h> -#include <linux/module.h> +#include <sound/soc.h> +#include <linux/io.h> #include <linux/delay.h> #include <linux/clk.h> -#include <sound/soc.h> - -#include <plat/regs-ac97.h> #include <mach/dma.h> +#include <plat/regs-ac97.h> #include <plat/audio.h> #include "dma.h"
sound/soc/samsung/dma.c +3 -9
@@ -14,18 +14,12 @@* option) any later version. */ -#include <linux/module.h> -#include <linux/init.h> -#include <linux/io.h> -#include <linux/platform_device.h> +#include <sound/soc.h> +#include <sound/pcm_params.h> +#include <linux/slab.h> #include <linux/dma-mapping.h> -#include <sound/core.h> -#include <sound/pcm.h> -#include <sound/pcm_params.h> -#include <sound/soc.h> -#include <asm/dma.h> #include <mach/hardware.h> #include <mach/dma.h>
sound/soc/samsung/goni_wm8994.c +1 -9
@@ -11,21 +11,13 @@* */ -#include <linux/module.h> -#include <linux/moduleparam.h> -#include <linux/io.h> -#include <linux/platform_device.h> #include <sound/soc.h> #include <sound/jack.h> +#include <asm/mach-types.h> #include <mach/gpio.h> -#include <mach/regs-clock.h> -#include <linux/mfd/wm8994/core.h> -#include <linux/mfd/wm8994/registers.h> #include "../codecs/wm8994.h" -#include "dma.h" -#include "i2s.h" #define MACHINE_NAME 0#define CPU_VOICE_DAI 1
sound/soc/samsung/h1940_uda1380.c +1 -10
@@ -13,25 +13,16 @@* */ -#include <linux/module.h> -#include <linux/moduleparam.h> -#include <linux/platform_device.h> -#include <linux/i2c.h> -#include <linux/gpio.h> #include <sound/soc.h> -#include <sound/uda1380.h> #include <sound/jack.h> +#include <linux/gpio.h> #include <plat/regs-iis.h> -#include <mach/h1940-latch.h> -#include <asm/mach-types.h> -#include "dma.h" #include "s3c24xx-i2s.h" -#include "../codecs/uda1380.h" static unsigned int rates[] = {11025 ,
sound/soc/samsung/i2s.c +3 -4
@@ -10,15 +10,14 @@* published by the Free Software Foundation. */ +#include <sound/soc.h> +#include <sound/pcm_params.h> +#include <linux/delay.h> #include <linux/slab.h> #include <linux/clk.h> #include <linux/io.h> -#include <sound/pcm.h> -#include <sound/pcm_params.h> -#include <sound/soc.h> -#include <plat/audio.h> #include "dma.h"
sound/soc/samsung/jive_wm8750.c +0 -11
@@ -11,22 +11,11 @@* published by the Free Software Foundation. */ -#include <linux/module.h> -#include <linux/moduleparam.h> -#include <linux/timer.h> -#include <linux/interrupt.h> -#include <linux/platform_device.h> -#include <linux/clk.h> - -#include <sound/core.h> -#include <sound/pcm.h> #include <sound/soc.h> #include <asm/mach-types.h> -#include "dma.h" #include "s3c2412-i2s.h" -#include "../codecs/wm8750.h" static const struct snd_soc_dapm_route audio_map[] = {
sound/soc/samsung/ln2440sbc_alc650.c +0 -6
@@ -16,14 +16,8 @@* */ -#include <linux/module.h> -#include <linux/device.h> -#include <sound/core.h> -#include <sound/pcm.h> #include <sound/soc.h> -#include "dma.h" -static struct snd_soc_card ln2440sbc;static struct snd_soc_dai_link ln2440sbc_dai[] = {
sound/soc/samsung/neo1973_gta02_wm8753.c +2 -13
@@ -13,25 +13,14 @@* option) any later version. */ -#include <linux/module.h> -#include <linux/moduleparam.h> -#include <linux/timer.h> -#include <linux/interrupt.h> -#include <linux/platform_device.h> -#include <linux/gpio.h> -#include <sound/core.h> -#include <sound/pcm.h> #include <sound/soc.h> +#include <linux/gpio.h> #include <asm/mach-types.h> -#include <plat/regs-iis.h> - -#include <mach/regs-clock.h> -#include <asm/io.h> #include <mach/gta02.h> +#include "../codecs/wm8753.h" -#include "dma.h" #include "s3c24xx-i2s.h" static struct snd_soc_card neo1973_gta02;
sound/soc/samsung/pcm.c +3 -12
@@ -11,21 +11,12 @@* published by the Free Software Foundation. */ -#include <linux/init.h> -#include <linux/module.h> -#include <linux/device.h> -#include <linux/delay.h> +#include <sound/soc.h> +#include <sound/pcm_params.h> +#include <linux/clk.h> -#include <linux/kernel.h> -#include <linux/gpio.h> #include <linux/io.h> -#include <sound/core.h> -#include <sound/pcm.h> -#include <sound/pcm_params.h> -#include <sound/initval.h> -#include <sound/soc.h> -#include <plat/audio.h> #include <plat/dma.h>
sound/soc/samsung/rx1950_uda1380.c +1 -13
@@ -17,26 +17,14 @@* */ -#include <linux/module.h> -#include <linux/moduleparam.h> -#include <linux/platform_device.h> -#include <linux/i2c.h> -#include <linux/gpio.h> -#include <linux/clk.h> -#include <sound/soc.h> -#include <sound/uda1380.h> #include <sound/jack.h> +#include <linux/gpio.h> #include <plat/regs-iis.h> - -#include <mach/regs-clock.h> -#include <asm/mach-types.h> -#include "dma.h" #include "s3c24xx-i2s.h" -#include "../codecs/uda1380.h" static int rx1950_uda1380_init (struct snd_soc_pcm_runtime *rtd);static int rx1950_startup (struct snd_pcm_substream *substream);
sound/soc/samsung/s3c-i2s-v2.c +3 -4
@@ -16,14 +16,13 @@* option) any later version. */ +#include <sound/soc.h> +#include <sound/pcm_params.h> +#include <linux/delay.h> #include <linux/clk.h> #include <linux/io.h> -#include <sound/pcm.h> -#include <sound/pcm_params.h> -#include <sound/soc.h> -#include <mach/dma.h> #include "regs-i2s-v2.h"
sound/soc/samsung/s3c2412-i2s.c +3 -13
@@ -16,22 +16,14 @@* option) any later version. */ -#include <linux/init.h> -#include <linux/module.h> -#include <linux/device.h> +#include <sound/soc.h> +#include <sound/pcm_params.h> +#include <linux/delay.h> #include <linux/gpio.h> #include <linux/clk.h> -#include <linux/kernel.h> #include <linux/io.h> -#include <sound/core.h> -#include <sound/pcm.h> -#include <sound/pcm_params.h> -#include <sound/initval.h> -#include <sound/soc.h> -#include <mach/hardware.h> -#include <mach/regs-gpio.h> #include <mach/dma.h>
@@ -39,8 +31,6 @@#include "regs-i2s-v2.h" #include "s3c2412-i2s.h" -#define S3C2412_I2S_DEBUG 0 -static struct s3c2410_dma_client s3c2412_dma_client_out = { .name ="I2S PCM Stereo out" };
sound/soc/samsung/s3c24xx-i2s.c +3 -15
@@ -14,28 +14,16 @@* option) any later version. */ -#include <linux/init.h> -#include <linux/module.h> -#include <linux/device.h> +#include <sound/soc.h> +#include <sound/pcm_params.h> +#include <linux/delay.h> #include <linux/clk.h> -#include <linux/jiffies.h> #include <linux/io.h> #include <linux/gpio.h> -#include <sound/core.h> -#include <sound/pcm.h> -#include <sound/pcm_params.h> -#include <sound/initval.h> -#include <sound/soc.h> - -#include <mach/hardware.h> #include <mach/regs-gpio.h> -#include <mach/regs-clock.h> - -#include <asm/dma.h> #include <mach/dma.h> -#include <plat/regs-iis.h> #include "dma.h"
sound/soc/samsung/s3c24xx_simtec.c +2 -10
@@ -7,20 +7,12 @@* published by the Free Software Foundation. */ -#include <linux/module.h> -#include <linux/moduleparam.h> -#include <linux/platform_device.h> -#include <linux/gpio.h> -#include <linux/clk.h> -#include <linux/i2c.h> - -#include <sound/core.h> -#include <sound/pcm.h> #include <sound/soc.h> +#include <linux/gpio.h> +#include <linux/clk.h> #include <plat/audio-simtec.h> -#include "dma.h" #include "s3c24xx-i2s.h" #include "s3c24xx_simtec.h"
sound/soc/samsung/s3c24xx_simtec_hermes.c +0 -10
@@ -7,18 +7,8 @@* published by the Free Software Foundation. */ -#include <linux/module.h> -#include <linux/clk.h> -#include <linux/platform_device.h> - -#include <sound/core.h> -#include <sound/pcm.h> #include <sound/soc.h> -#include <plat/audio-simtec.h> - -#include "dma.h" -#include "s3c24xx-i2s.h" #include "s3c24xx_simtec.h" static const struct snd_soc_dapm_widget dapm_widgets[] = {
sound/soc/samsung/s3c24xx_simtec_tlv320aic23.c +0 -12
@@ -7,22 +7,10 @@* published by the Free Software Foundation. */ -#include <linux/module.h> -#include <linux/clk.h> -#include <linux/platform_device.h> - -#include <sound/core.h> -#include <sound/pcm.h> #include <sound/soc.h> -#include <plat/audio-simtec.h> - -#include "dma.h" -#include "s3c24xx-i2s.h" #include "s3c24xx_simtec.h" -#include "../codecs/tlv320aic23.h" -/* supported machines: * * Machine Connections AMP
sound/soc/samsung/s3c24xx_uda134x.c +2 -10
@@ -11,22 +11,14 @@* published by the Free Software Foundation. */ -#include <linux/module.h> -#include <linux/clk.h> -#include <linux/mutex.h> -#include <linux/gpio.h> -#include <sound/pcm.h> -#include <sound/pcm_params.h> #include <sound/soc.h> #include <sound/s3c24xx_uda134x.h> -#include <sound/uda134x.h> +#include <linux/clk.h> +#include <linux/gpio.h> #include <plat/regs-iis.h> -#include "dma.h" #include "s3c24xx-i2s.h" -#include "../codecs/uda134x.h" -/* #define ENFORCE_RATES 1 */ /*
sound/soc/samsung/smartq_wm8987.c +1 -8
@@ -13,20 +13,13 @@* */ -#include <linux/module.h> -#include <linux/platform_device.h> -#include <linux/gpio.h> - -#include <sound/pcm.h> -#include <sound/pcm_params.h> #include <sound/soc.h> #include <sound/jack.h> +#include <linux/gpio.h> #include <asm/mach-types.h> -#include "dma.h" #include "i2s.h" -#include "../codecs/wm8750.h" /*
sound/soc/samsung/smdk2443_wm9710.c +0 -6
@@ -12,14 +12,8 @@* */ -#include <linux/module.h> -#include <linux/device.h> -#include <sound/core.h> -#include <sound/pcm.h> #include <sound/soc.h> -#include "dma.h" -static struct snd_soc_card smdk2443;static struct snd_soc_dai_link smdk2443_dai[] = {
sound/soc/samsung/smdk_spdif.c +2 -7
@@ -10,15 +10,10 @@* */ -#include <linux/module.h> -#include <linux/device.h> -#include <linux/clk.h> - -#include <plat/devs.h> -#include <sound/soc.h> -#include "dma.h" +#include <linux/clk.h> +#include "spdif.h" /* Audio clock settings are belonged to board specific part. Every
sound/soc/samsung/smdk_wm8580.c +1 -6
@@ -10,17 +10,12 @@* option) any later version. */ -#include <linux/platform_device.h> -#include <linux/clk.h> -#include <sound/core.h> -#include <sound/pcm.h> -#include <sound/pcm_params.h> #include <sound/soc.h> +#include <sound/pcm_params.h> #include <asm/mach-types.h> #include "../codecs/wm8580.h" -#include "dma.h" #include "i2s.h" /*
sound/soc/samsung/smdk_wm9713.c +0 -4
@@ -11,12 +11,8 @@* */ -#include <linux/module.h> -#include <linux/device.h> #include <sound/soc.h> -#include "dma.h" -static struct snd_soc_card smdk;/*
sound/soc/samsung/spdif.c +3 -4
@@ -10,13 +10,12 @@* published by the Free Software Foundation. */ +#include <sound/soc.h> +#include <sound/pcm_params.h> +#include <linux/clk.h> #include <linux/io.h> -#include <sound/pcm.h> -#include <sound/pcm_params.h> -#include <sound/soc.h> -#include <plat/audio.h> #include <mach/dma.h>
Signature · 1 line
1.6.2.5
Re: [PATCH 4/4] ASoC: SAMSUNG: Clean-up header includes
Quoted 42 lines · Seungwhan Youn
This patch remove including unnecessary/duplicated headers which relative with Samsung SoCs.
Signed-off-by Seungwhan Youn <[email protected]>---
sound/soc/samsung/ac97.c | 8 +++-----sound/soc/samsung/dma.c| 12 +++---------sound/soc/samsung/goni_wm8994.c| 10 +---------sound/soc/samsung/h1940_uda1380.c| 11 +----------sound/soc/samsung/i2s.c| 7 +++----sound/soc/samsung/jive_wm8750.c| 11 -----------sound/soc/samsung/ln2440sbc_alc650.c| 6 ------sound/soc/samsung/neo1973_gta02_wm8753.c| 15 ++-------------sound/soc/samsung/pcm.c| 15 +++------------sound/soc/samsung/rx1950_uda1380.c| 14 +-------------sound/soc/samsung/s3c-i2s-v2.c | 7 +++---- sound/soc/samsung/s3c2412-i2s.c | 16 +++------------- sound/soc/samsung/s3c24xx-i2s.c | 18 +++---------------sound/soc/samsung/s3c24xx_simtec.c | 12 ++----------
sound/soc/samsung/s3c24xx_simtec_hermes.c| 10 ----------sound/soc/samsung/s3c24xx_simtec_tlv320aic23.c| 12 ------------sound/soc/samsung/s3c24xx_uda134x.c| 12 ++----------sound/soc/samsung/smartq_wm8987.c| 9 +--------sound/soc/samsung/smdk2443_wm9710.c| 6 ------sound/soc/samsung/smdk_spdif.c | 9 ++------- sound/soc/samsung/smdk_wm8580.c | 7 +------ sound/soc/samsung/smdk_wm9713.c | 4 ---- sound/soc/samsung/spdif.c | 7 +++---- 23 files changed, 37 insertions(+), 201 deletions(-)sound/soc/samsung/ac97.c +2
-2@@ -12,16 +12,14 @@* published by the Free Software Foundation. */ -#include <linux/init.h> -#include <linux/module.h> +#include <sound/soc.h> +
sound/soc/samsung/ac97.c line 23
Quoted 10 lines
sound/soc/samsung/ac97.c +1
-3#include <linux/io.h> #include <linux/delay.h> #include <linux/clk.h> -#include <sound/soc.h> - -#include <plat/regs-ac97.h> #include <mach/dma.h> +#include <plat/regs-ac97.h> #include <plat/audio.h>
I think we'd better keep sound includes after linux's. Same for all such instances in the remaining of the patch. Otherwise, the patch is ok.
Thanks
_______________________________________________
Alsa-devel mailing list
[email protected]
http://mailman.alsa-project.org/mailman/listinfo/alsa-devel
Re: [PATCH 4/4] ASoC: SAMSUNG: Clean-up header includes
Quoted 7 lines · Jassi Brar
Quoted 4 lines · Seungwhan Youn
This patch remove including unnecessary/duplicated headers which relative with Samsung SoCs.
Signed-off-by Seungwhan Youn <[email protected]>I think we'd better keep sound includes after linux's.
As you know, 'include/sound/soc.h' has some general linux's includes. So I made these sequence to prevent dependency problem, because reverse including could have some problem, if linux's includes has their dependencies.
Do we really keep this, 'sound includes after linux's'? :(
Thanks
Re: [PATCH 4/4] ASoC: SAMSUNG: Clean-up header includes
Quoted 4 lines · Seungwhan Youn
As you know, '
include/sound/soc.h' has some general linux's includes. So I made these sequence to prevent dependency problem, because reverse including could have some problem, if linux's includes has their dependencies.
If there's dependency problems in the core headers we should just fix those, users shouldn't need to worry about that sort of stuff.
Re: [PATCH 4/4] ASoC: SAMSUNG: Clean-up header includes
Quoted 9 lines · Mark Brown
Quoted 4 lines · Seungwhan Youn
As you know, '
include/sound/soc.h' has some general linux's includes. So I made these sequence to prevent dependency problem, because reverse including could have some problem, if linux's includes has their dependencies.If there's dependency problems in the core headers we should just fix those, users shouldn't need to worry about that sort of stuff.
Hmm... I see. I'll re-submit this patch which applies Jassi's suggestion with compile test. ;)
Thanks.
claude
PATCH v2 4/4 ASoC: SAMSUNG: Clean-up header includes
This patch remove including unnecessary/duplicated headers which relative with Samsung SoCs.
--- sound/soc/samsung/ac97.c | 4 +--- sound/soc/samsung/dma.c | 8 +------- sound/soc/samsung/goni_wm8994.c | 10 +--------- sound/soc/samsung/h1940_uda1380.c | 9 --------- sound/soc/samsung/i2s.c | 3 +-- sound/soc/samsung/jive_wm8750.c | 11 ----------- sound/soc/samsung/ln2440sbc_alc650.c | 6 ------ sound/soc/samsung/neo1973_gta02_wm8753.c | 14 ++------------ sound/soc/samsung/pcm.c | 11 +---------- sound/soc/samsung/rx1950_uda1380.c | 11 ----------- sound/soc/samsung/s3c-i2s-v2.c | 3 +-- sound/soc/samsung/s3c2412-i2s.c | 12 +----------- sound/soc/samsung/s3c24xx-i2s.c | 14 +------------- sound/soc/samsung/s3c24xx_simtec.c | 7 ------- sound/soc/samsung/s3c24xx_simtec_hermes.c | 10 ---------- sound/soc/samsung/s3c24xx_simtec_tlv320aic23.c | 12 ------------ sound/soc/samsung/s3c24xx_uda134x.c | 9 +-------- sound/soc/samsung/smartq_wm8987.c | 6 ------ sound/soc/samsung/smdk2443_wm9710.c | 6 ------ sound/soc/samsung/smdk_spdif.c | 5 ----- sound/soc/samsung/smdk_wm8580.c | 7 +------ sound/soc/samsung/smdk_wm9713.c | 4 ---- sound/soc/samsung/spdif.c | 3 +-- 23 files changed, 13 insertions(+), 172 deletions(-)
sound/soc/samsung/ac97.c +1 -3
@@ -12,16 +12,14 @@* published by the Free Software Foundation. */ -#include <linux/init.h> -#include <linux/module.h> #include <linux/io.h> #include <linux/delay.h> #include <linux/clk.h> #include <sound/soc.h> -#include <plat/regs-ac97.h> #include <mach/dma.h> +#include <plat/regs-ac97.h> #include <plat/audio.h> #include "dma.h"
sound/soc/samsung/dma.c +1 -7
@@ -14,17 +14,11 @@* option) any later version. */ -#include <linux/module.h> -#include <linux/init.h> -#include <linux/io.h> -#include <linux/platform_device.h> #include <linux/slab.h> #include <linux/dma-mapping.h> -#include <sound/core.h> -#include <sound/pcm.h> -#include <sound/pcm_params.h> #include <sound/soc.h> +#include <sound/pcm_params.h> #include <asm/dma.h> #include <mach/hardware.h>
sound/soc/samsung/goni_wm8994.c +1 -9
@@ -11,21 +11,13 @@* */ -#include <linux/module.h> -#include <linux/moduleparam.h> -#include <linux/io.h> -#include <linux/platform_device.h> #include <sound/soc.h> #include <sound/jack.h> +#include <asm/mach-types.h> #include <mach/gpio.h> -#include <mach/regs-clock.h> -#include <linux/mfd/wm8994/core.h> -#include <linux/mfd/wm8994/registers.h> #include "../codecs/wm8994.h" -#include "dma.h" -#include "i2s.h" #define MACHINE_NAME 0#define CPU_VOICE_DAI 1
sound/soc/samsung/h1940_uda1380.c +0 -9
@@ -13,25 +13,16 @@* */ -#include <linux/module.h> -#include <linux/moduleparam.h> -#include <linux/platform_device.h> -#include <linux/i2c.h> #include <linux/gpio.h> #include <sound/soc.h> -#include <sound/uda1380.h> #include <sound/jack.h> #include <plat/regs-iis.h> -#include <mach/h1940-latch.h> -#include <asm/mach-types.h> -#include "dma.h" #include "s3c24xx-i2s.h" -#include "../codecs/uda1380.h" static unsigned int rates[] = {11025 ,
sound/soc/samsung/i2s.c +1 -2
@@ -15,9 +15,8 @@#include <linux/clk.h> #include <linux/io.h> -#include <sound/pcm.h> -#include <sound/pcm_params.h> #include <sound/soc.h> +#include <sound/pcm_params.h> #include <plat/audio.h>
sound/soc/samsung/jive_wm8750.c +0 -11
@@ -11,22 +11,11 @@* published by the Free Software Foundation. */ -#include <linux/module.h> -#include <linux/moduleparam.h> -#include <linux/timer.h> -#include <linux/interrupt.h> -#include <linux/platform_device.h> -#include <linux/clk.h> - -#include <sound/core.h> -#include <sound/pcm.h> #include <sound/soc.h> #include <asm/mach-types.h> -#include "dma.h" #include "s3c2412-i2s.h" -#include "../codecs/wm8750.h" static const struct snd_soc_dapm_route audio_map[] = {
sound/soc/samsung/ln2440sbc_alc650.c +0 -6
@@ -16,14 +16,8 @@* */ -#include <linux/module.h> -#include <linux/device.h> -#include <sound/core.h> -#include <sound/pcm.h> #include <sound/soc.h> -#include "dma.h" -static struct snd_soc_card ln2440sbc;static struct snd_soc_dai_link ln2440sbc_dai[] = {
sound/soc/samsung/neo1973_gta02_wm8753.c +2 -12
@@ -13,25 +13,15 @@* option) any later version. */ -#include <linux/module.h> -#include <linux/moduleparam.h> -#include <linux/timer.h> -#include <linux/interrupt.h> -#include <linux/platform_device.h> #include <linux/gpio.h> -#include <sound/core.h> -#include <sound/pcm.h> +#include <sound/soc.h> #include <asm/mach-types.h> -#include <plat/regs-iis.h> - -#include <mach/regs-clock.h> -#include <asm/io.h> #include <mach/gta02.h> +#include "../codecs/wm8753.h" -#include "dma.h" #include "s3c24xx-i2s.h" static struct snd_soc_card neo1973_gta02;
sound/soc/samsung/pcm.c +1 -10
@@ -11,20 +11,11 @@* published by the Free Software Foundation. */ -#include <linux/init.h> -#include <linux/module.h> -#include <linux/device.h> -#include <linux/delay.h> #include <linux/clk.h> -#include <linux/kernel.h> -#include <linux/gpio.h> #include <linux/io.h> -#include <sound/core.h> -#include <sound/pcm.h> -#include <sound/pcm_params.h> -#include <sound/initval.h> #include <sound/soc.h> +#include <sound/pcm_params.h> #include <plat/audio.h> #include <plat/dma.h>
sound/soc/samsung/rx1950_uda1380.c +0 -11
@@ -17,26 +17,15 @@* */ -#include <linux/module.h> -#include <linux/moduleparam.h> -#include <linux/platform_device.h> -#include <linux/i2c.h> #include <linux/gpio.h> -#include <linux/clk.h> #include <sound/soc.h> -#include <sound/uda1380.h> #include <sound/jack.h> #include <plat/regs-iis.h> - -#include <mach/regs-clock.h> -#include <asm/mach-types.h> -#include "dma.h" #include "s3c24xx-i2s.h" -#include "../codecs/uda1380.h" static int rx1950_uda1380_init (struct snd_soc_pcm_runtime *rtd);static int rx1950_startup (struct snd_pcm_substream *substream);
sound/soc/samsung/s3c-i2s-v2.c +1 -2
@@ -20,9 +20,8 @@#include <linux/clk.h> #include <linux/io.h> -#include <sound/pcm.h> -#include <sound/pcm_params.h> #include <sound/soc.h> +#include <sound/pcm_params.h> #include <mach/dma.h>
sound/soc/samsung/s3c2412-i2s.c +1 -11
@@ -16,21 +16,13 @@* option) any later version. */ -#include <linux/init.h> -#include <linux/module.h> -#include <linux/device.h> #include <linux/delay.h> #include <linux/gpio.h> #include <linux/clk.h> -#include <linux/kernel.h> #include <linux/io.h> -#include <sound/core.h> -#include <sound/pcm.h> -#include <sound/pcm_params.h> -#include <sound/initval.h> #include <sound/soc.h> -#include <mach/hardware.h> +#include <sound/pcm_params.h> #include <mach/regs-gpio.h> #include <mach/dma.h>
@@ -39,8 +31,6 @@#include "regs-i2s-v2.h" #include "s3c2412-i2s.h" -#define S3C2412_I2S_DEBUG 0 -static struct s3c2410_dma_client s3c2412_dma_client_out = { .name ="I2S PCM Stereo out" };
sound/soc/samsung/s3c24xx-i2s.c +1 -13
@@ -14,28 +14,16 @@* option) any later version. */ -#include <linux/init.h> -#include <linux/module.h> -#include <linux/device.h> #include <linux/delay.h> #include <linux/clk.h> -#include <linux/jiffies.h> #include <linux/io.h> #include <linux/gpio.h> -#include <sound/core.h> -#include <sound/pcm.h> -#include <sound/pcm_params.h> -#include <sound/initval.h> #include <sound/soc.h> +#include <sound/pcm_params.h> -#include <mach/hardware.h> #include <mach/regs-gpio.h> -#include <mach/regs-clock.h> - -#include <asm/dma.h> #include <mach/dma.h> -#include <plat/regs-iis.h> #include "dma.h"
sound/soc/samsung/s3c24xx_simtec.c +0 -7
@@ -7,20 +7,13 @@* published by the Free Software Foundation. */ -#include <linux/module.h> -#include <linux/moduleparam.h> -#include <linux/platform_device.h> #include <linux/gpio.h> #include <linux/clk.h> -#include <linux/i2c.h> -#include <sound/core.h> -#include <sound/pcm.h> #include <sound/soc.h> #include <plat/audio-simtec.h> -#include "dma.h" #include "s3c24xx-i2s.h" #include "s3c24xx_simtec.h"
sound/soc/samsung/s3c24xx_simtec_hermes.c +0 -10
@@ -7,18 +7,8 @@* published by the Free Software Foundation. */ -#include <linux/module.h> -#include <linux/clk.h> -#include <linux/platform_device.h> - -#include <sound/core.h> -#include <sound/pcm.h> #include <sound/soc.h> -#include <plat/audio-simtec.h> - -#include "dma.h" -#include "s3c24xx-i2s.h" #include "s3c24xx_simtec.h" static const struct snd_soc_dapm_widget dapm_widgets[] = {
sound/soc/samsung/s3c24xx_simtec_tlv320aic23.c +0 -12
@@ -7,22 +7,10 @@* published by the Free Software Foundation. */ -#include <linux/module.h> -#include <linux/clk.h> -#include <linux/platform_device.h> - -#include <sound/core.h> -#include <sound/pcm.h> #include <sound/soc.h> -#include <plat/audio-simtec.h> - -#include "dma.h" -#include "s3c24xx-i2s.h" #include "s3c24xx_simtec.h" -#include "../codecs/tlv320aic23.h" -/* supported machines: * * Machine Connections AMP
sound/soc/samsung/s3c24xx_uda134x.c +1 -8
@@ -11,22 +11,15 @@* published by the Free Software Foundation. */ -#include <linux/module.h> #include <linux/clk.h> -#include <linux/mutex.h> #include <linux/gpio.h> -#include <sound/pcm.h> -#include <sound/pcm_params.h> +#include <sound/soc.h> #include <sound/s3c24xx_uda134x.h> -#include <sound/uda134x.h> #include <plat/regs-iis.h> -#include "dma.h" #include "s3c24xx-i2s.h" -#include "../codecs/uda134x.h" -/* #define ENFORCE_RATES 1 */ /*
sound/soc/samsung/smartq_wm8987.c +0 -6
@@ -13,20 +13,14 @@* */ -#include <linux/module.h> -#include <linux/platform_device.h> #include <linux/gpio.h> -#include <sound/pcm.h> -#include <sound/pcm_params.h> #include <sound/soc.h> #include <sound/jack.h> #include <asm/mach-types.h> -#include "dma.h" #include "i2s.h" -#include "../codecs/wm8750.h" /*
sound/soc/samsung/smdk2443_wm9710.c +0 -6
@@ -12,14 +12,8 @@* */ -#include <linux/module.h> -#include <linux/device.h> -#include <sound/core.h> -#include <sound/pcm.h> #include <sound/soc.h> -#include "dma.h" -static struct snd_soc_card smdk2443;static struct snd_soc_dai_link smdk2443_dai[] = {
sound/soc/samsung/smdk_spdif.c +0 -5
@@ -10,15 +10,10 @@* */ -#include <linux/module.h> -#include <linux/device.h> #include <linux/clk.h> -#include <plat/devs.h> -#include <sound/soc.h> -#include "dma.h" #include "spdif.h" /* Audio clock settings are belonged to board specific part. Every
sound/soc/samsung/smdk_wm8580.c +1 -6
@@ -10,17 +10,12 @@* option) any later version. */ -#include <linux/platform_device.h> -#include <linux/clk.h> -#include <sound/core.h> -#include <sound/pcm.h> -#include <sound/pcm_params.h> #include <sound/soc.h> +#include <sound/pcm_params.h> #include <asm/mach-types.h> #include "../codecs/wm8580.h" -#include "dma.h" #include "i2s.h" /*
sound/soc/samsung/smdk_wm9713.c +0 -4
@@ -11,12 +11,8 @@* */ -#include <linux/module.h> -#include <linux/device.h> #include <sound/soc.h> -#include "dma.h" -static struct snd_soc_card smdk;/*
sound/soc/samsung/spdif.c +1 -2
@@ -13,9 +13,8 @@#include <linux/clk.h> #include <linux/io.h> -#include <sound/pcm.h> -#include <sound/pcm_params.h> #include <sound/soc.h> +#include <sound/pcm_params.h> #include <plat/audio.h> #include <mach/dma.h>
Signature · 1 line
1.7.0.4
Re: [PATCH v2 4/4] ASoC: SAMSUNG: Clean-up header includes
Quoted 4 lines · Seungwhan Youn
This patch remove including unnecessary/duplicated headers which relative with Samsung SoCs.
Signed-off-by Seungwhan Youn <[email protected]>
Signature · 3 lines
Freelance Developer, SlimLogic Ltd ASoC and Voltage Regulator Maintainer. http://www.slimlogic.co.uk
Re: [PATCH v2 4/4] ASoC: SAMSUNG: Clean-up header includes
In reply to Seungwhan YounQuoted 4 lines · Seungwhan Youn
This patch remove including unnecessary/duplicated headers which relative with Samsung SoCs.
Signed-off-by Seungwhan Youn <[email protected]>
Mark Brown
AppliedRe: [PATCH v2 4/4] ASoC: SAMSUNG: Clean-up header includes
In reply to Seungwhan YounQuoted 4 lines · Seungwhan Youn
This patch remove including unnecessary/duplicated headers which relative with Samsung SoCs.
Signed-off-by Seungwhan Youn <[email protected]>
Applied, thanks.
Quoted 25 lines · Seungwhan Youn
Hi,
This patch remove(or move) unnecessary or un-suitable features on current ASoC for all Samsung audio drivers and its supports. After multi-component model patch, ASoC core part controls
dai_linksinstead of _hard_wired_ dai links on machine drivers. Due to apply this model, many machine drivers don't need codecs and platforms includes to make _hard_wired_dai_links. And also, ASoC core header file 'sound/soc.h' has basic includes for device driver, so many of includes in each machine/platform driver are duplicated and not essentially needed.So, this patch-set check each platform/machine drivers' includes and definitions are suitable or not, remove unnecessary features with compile tests.
These patches are modify below features:-
o Remove unnecessary 'ac97.h' header file.
o Move each specific definitions, not to be shared by header files.
o Clean-up unnecessary header includes.This patch-set is based on two different branches that :-
o ASoC patches are based on Mark Brown's git branch 'for-next' (commit id -f6c2ed5dd6ab43447dacc136585fc894e3f3a82d)
Quoted 6 lines
This patch-set contains followings :-
o [PATCH 1/4] ASoC: SAMSUNG: Remove AC97 header file
o [PATCH 2/4] ASoC: SAMSUNG: Clean-up DMA header file
o [PATCH 3/4] ASoC: SAMSUNG: Move PCM specific definitions intopcm.c
o [PATCH 4/4] ASoC: SAMSUNG: Clean-up header includes
All
Signature · 3 lines
Freelance Developer, SlimLogic Ltd ASoC and Voltage Regulator Maintainer. http://www.slimlogic.co.uk
Quoted 8 lines · Liam Girdwood
Quoted 4 lines · Seungwhan Youn
o [PATCH 1/4] ASoC: SAMSUNG: Remove AC97 header file
o [PATCH 2/4] ASoC: SAMSUNG: Clean-up DMA header file
o [PATCH 3/4] ASoC: SAMSUNG: Move PCM specific definitions intopcm.c
o [PATCH 4/4] ASoC: SAMSUNG: Clean-up header includesAcked-by Liam Girdwood <[email protected]>
I've applied 1-3, as discussed please do the updates Jassi requested to patch 4.