forked from luck/tmp_suning_uos_patched
ASoC: SAMSUNG: Clean-up header includes
This patch remove including unnecessary/duplicated headers which relative with Samsung SoCs. Signed-off-by: Seungwhan Youn <sw.youn@samsung.com> Acked-by: Jassi Brar <jassi.brar@samsung.com> Acked-by: Liam Girdwood <lrg@slimlogic.co.uk> Signed-off-by: Mark Brown <broonie@opensource.wolfsonmicro.com>
This commit is contained in:
parent
180c329d6b
commit
0378b6acc8
@ -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"
|
||||
|
@ -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>
|
||||
|
@ -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
|
||||
|
@ -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,
|
||||
|
@ -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>
|
||||
|
||||
|
@ -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[] = {
|
||||
|
@ -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[] = {
|
||||
|
@ -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;
|
||||
|
@ -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>
|
||||
|
@ -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);
|
||||
|
@ -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>
|
||||
|
||||
|
@ -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"
|
||||
};
|
||||
|
@ -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"
|
||||
|
@ -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"
|
||||
|
||||
|
@ -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[] = {
|
||||
|
@ -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
|
||||
|
@ -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 */
|
||||
/*
|
||||
|
@ -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"
|
||||
|
||||
/*
|
||||
|
@ -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[] = {
|
||||
|
@ -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
|
||||
|
@ -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"
|
||||
|
||||
/*
|
||||
|
@ -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;
|
||||
|
||||
/*
|
||||
|
@ -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>
|
||||
|
Loading…
Reference in New Issue
Block a user