diff options
author | Jie Yang <yang.jie@intel.com> | 2015-04-02 03:37:00 -0400 |
---|---|---|
committer | Mark Brown <broonie@kernel.org> | 2015-04-06 12:49:45 -0400 |
commit | 2106241a680397f6f49da796a4ce11eb5cf2698e (patch) | |
tree | 2358fc5ccd0b9a2d800dca56fb1585385daa941c | |
parent | 2c0ed6349287a15f7be73bba00e520106087cd1b (diff) |
ASoC: Intel: create common folder and move common files in
Restructure the sound/soc/intel/ directory: create common folder, and move
sst common files here.
Signed-off-by: Jie Yang <yang.jie@intel.com>
Acked-by: Jarkko Nikula <jarkko.nikula@linux.intel.com>
Tested-by: Jarkko Nikula <jarkko.nikula@linux.intel.com>
Signed-off-by: Mark Brown <broonie@kernel.org>
-rw-r--r-- | sound/soc/intel/Makefile | 6 | ||||
-rw-r--r-- | sound/soc/intel/common/Makefile | 6 | ||||
-rw-r--r-- | sound/soc/intel/common/sst-acpi.c (renamed from sound/soc/intel/sst-acpi.c) | 0 | ||||
-rw-r--r-- | sound/soc/intel/common/sst-dsp-priv.h (renamed from sound/soc/intel/sst-dsp-priv.h) | 0 | ||||
-rw-r--r-- | sound/soc/intel/common/sst-dsp.c (renamed from sound/soc/intel/sst-dsp.c) | 0 | ||||
-rw-r--r-- | sound/soc/intel/common/sst-dsp.h (renamed from sound/soc/intel/sst-dsp.h) | 0 | ||||
-rw-r--r-- | sound/soc/intel/common/sst-firmware.c (renamed from sound/soc/intel/sst-firmware.c) | 0 | ||||
-rw-r--r-- | sound/soc/intel/sst/sst.c | 2 | ||||
-rw-r--r-- | sound/soc/intel/sst/sst_acpi.c | 2 | ||||
-rw-r--r-- | sound/soc/intel/sst/sst_drv_interface.c | 2 | ||||
-rw-r--r-- | sound/soc/intel/sst/sst_ipc.c | 2 | ||||
-rw-r--r-- | sound/soc/intel/sst/sst_loader.c | 2 | ||||
-rw-r--r-- | sound/soc/intel/sst/sst_pvt.c | 2 | ||||
-rw-r--r-- | sound/soc/intel/sst/sst_stream.c | 2 |
14 files changed, 14 insertions, 12 deletions
diff --git a/sound/soc/intel/Makefile b/sound/soc/intel/Makefile index a8e53c45c6b6..28de8cd6f321 100644 --- a/sound/soc/intel/Makefile +++ b/sound/soc/intel/Makefile | |||
@@ -1,6 +1,5 @@ | |||
1 | # Core support | 1 | # Core support |
2 | snd-soc-sst-dsp-objs := sst-dsp.o sst-firmware.o | 2 | obj-$(CONFIG_SND_SOC_INTEL_SST) += common/ |
3 | snd-soc-sst-acpi-objs := sst-acpi.o | ||
4 | 3 | ||
5 | snd-soc-sst-mfld-platform-objs := sst-mfld-platform-pcm.o \ | 4 | snd-soc-sst-mfld-platform-objs := sst-mfld-platform-pcm.o \ |
6 | sst-mfld-platform-compress.o sst-atom-controls.o | 5 | sst-mfld-platform-compress.o sst-atom-controls.o |
@@ -9,9 +8,6 @@ snd-soc-mfld-machine-objs := mfld_machine.o | |||
9 | obj-$(CONFIG_SND_SST_MFLD_PLATFORM) += snd-soc-sst-mfld-platform.o | 8 | obj-$(CONFIG_SND_SST_MFLD_PLATFORM) += snd-soc-sst-mfld-platform.o |
10 | obj-$(CONFIG_SND_MFLD_MACHINE) += snd-soc-mfld-machine.o | 9 | obj-$(CONFIG_SND_MFLD_MACHINE) += snd-soc-mfld-machine.o |
11 | 10 | ||
12 | obj-$(CONFIG_SND_SOC_INTEL_SST) += snd-soc-sst-dsp.o | ||
13 | obj-$(CONFIG_SND_SOC_INTEL_SST_ACPI) += snd-soc-sst-acpi.o | ||
14 | |||
15 | # Platform Support | 11 | # Platform Support |
16 | snd-soc-sst-haswell-pcm-objs := \ | 12 | snd-soc-sst-haswell-pcm-objs := \ |
17 | sst-haswell-ipc.o sst-haswell-pcm.o sst-haswell-dsp.o | 13 | sst-haswell-ipc.o sst-haswell-pcm.o sst-haswell-dsp.o |
diff --git a/sound/soc/intel/common/Makefile b/sound/soc/intel/common/Makefile new file mode 100644 index 000000000000..3df0e1ca76c0 --- /dev/null +++ b/sound/soc/intel/common/Makefile | |||
@@ -0,0 +1,6 @@ | |||
1 | snd-soc-sst-dsp-objs := sst-dsp.o sst-firmware.o | ||
2 | snd-soc-sst-acpi-objs := sst-acpi.o | ||
3 | |||
4 | obj-$(CONFIG_SND_SOC_INTEL_SST) += snd-soc-sst-dsp.o | ||
5 | obj-$(CONFIG_SND_SOC_INTEL_SST_ACPI) += snd-soc-sst-acpi.o | ||
6 | |||
diff --git a/sound/soc/intel/sst-acpi.c b/sound/soc/intel/common/sst-acpi.c index b3d84560fbb5..b3d84560fbb5 100644 --- a/sound/soc/intel/sst-acpi.c +++ b/sound/soc/intel/common/sst-acpi.c | |||
diff --git a/sound/soc/intel/sst-dsp-priv.h b/sound/soc/intel/common/sst-dsp-priv.h index 396d54510350..396d54510350 100644 --- a/sound/soc/intel/sst-dsp-priv.h +++ b/sound/soc/intel/common/sst-dsp-priv.h | |||
diff --git a/sound/soc/intel/sst-dsp.c b/sound/soc/intel/common/sst-dsp.c index 64e94212d2d2..64e94212d2d2 100644 --- a/sound/soc/intel/sst-dsp.c +++ b/sound/soc/intel/common/sst-dsp.c | |||
diff --git a/sound/soc/intel/sst-dsp.h b/sound/soc/intel/common/sst-dsp.h index 3412474083ff..3412474083ff 100644 --- a/sound/soc/intel/sst-dsp.h +++ b/sound/soc/intel/common/sst-dsp.h | |||
diff --git a/sound/soc/intel/sst-firmware.c b/sound/soc/intel/common/sst-firmware.c index b5659ecb80de..b5659ecb80de 100644 --- a/sound/soc/intel/sst-firmware.c +++ b/sound/soc/intel/common/sst-firmware.c | |||
diff --git a/sound/soc/intel/sst/sst.c b/sound/soc/intel/sst/sst.c index 1a7eeec444b1..26b1e31c5003 100644 --- a/sound/soc/intel/sst/sst.c +++ b/sound/soc/intel/sst/sst.c | |||
@@ -32,7 +32,7 @@ | |||
32 | #include <asm/platform_sst_audio.h> | 32 | #include <asm/platform_sst_audio.h> |
33 | #include "../sst-mfld-platform.h" | 33 | #include "../sst-mfld-platform.h" |
34 | #include "sst.h" | 34 | #include "sst.h" |
35 | #include "../sst-dsp.h" | 35 | #include "../common/sst-dsp.h" |
36 | 36 | ||
37 | MODULE_AUTHOR("Vinod Koul <vinod.koul@intel.com>"); | 37 | MODULE_AUTHOR("Vinod Koul <vinod.koul@intel.com>"); |
38 | MODULE_AUTHOR("Harsha Priya <priya.harsha@intel.com>"); | 38 | MODULE_AUTHOR("Harsha Priya <priya.harsha@intel.com>"); |
diff --git a/sound/soc/intel/sst/sst_acpi.c b/sound/soc/intel/sst/sst_acpi.c index b782dfdcdbba..2a19cbcac811 100644 --- a/sound/soc/intel/sst/sst_acpi.c +++ b/sound/soc/intel/sst/sst_acpi.c | |||
@@ -39,7 +39,7 @@ | |||
39 | #include <acpi/actypes.h> | 39 | #include <acpi/actypes.h> |
40 | #include <acpi/acpi_bus.h> | 40 | #include <acpi/acpi_bus.h> |
41 | #include "../sst-mfld-platform.h" | 41 | #include "../sst-mfld-platform.h" |
42 | #include "../sst-dsp.h" | 42 | #include "../common/sst-dsp.h" |
43 | #include "sst.h" | 43 | #include "sst.h" |
44 | 44 | ||
45 | struct sst_machines { | 45 | struct sst_machines { |
diff --git a/sound/soc/intel/sst/sst_drv_interface.c b/sound/soc/intel/sst/sst_drv_interface.c index f0e4b99b3aeb..36d68b8dfd28 100644 --- a/sound/soc/intel/sst/sst_drv_interface.c +++ b/sound/soc/intel/sst/sst_drv_interface.c | |||
@@ -32,7 +32,7 @@ | |||
32 | #include <asm/platform_sst_audio.h> | 32 | #include <asm/platform_sst_audio.h> |
33 | #include "../sst-mfld-platform.h" | 33 | #include "../sst-mfld-platform.h" |
34 | #include "sst.h" | 34 | #include "sst.h" |
35 | #include "../sst-dsp.h" | 35 | #include "../common/sst-dsp.h" |
36 | 36 | ||
37 | 37 | ||
38 | 38 | ||
diff --git a/sound/soc/intel/sst/sst_ipc.c b/sound/soc/intel/sst/sst_ipc.c index 484e60978477..3943ae856c31 100644 --- a/sound/soc/intel/sst/sst_ipc.c +++ b/sound/soc/intel/sst/sst_ipc.c | |||
@@ -32,7 +32,7 @@ | |||
32 | #include <asm/platform_sst_audio.h> | 32 | #include <asm/platform_sst_audio.h> |
33 | #include "../sst-mfld-platform.h" | 33 | #include "../sst-mfld-platform.h" |
34 | #include "sst.h" | 34 | #include "sst.h" |
35 | #include "../sst-dsp.h" | 35 | #include "../common/sst-dsp.h" |
36 | 36 | ||
37 | struct sst_block *sst_create_block(struct intel_sst_drv *ctx, | 37 | struct sst_block *sst_create_block(struct intel_sst_drv *ctx, |
38 | u32 msg_id, u32 drv_id) | 38 | u32 msg_id, u32 drv_id) |
diff --git a/sound/soc/intel/sst/sst_loader.c b/sound/soc/intel/sst/sst_loader.c index e88907ae8b15..6622e66e1796 100644 --- a/sound/soc/intel/sst/sst_loader.c +++ b/sound/soc/intel/sst/sst_loader.c | |||
@@ -37,7 +37,7 @@ | |||
37 | #include <asm/platform_sst_audio.h> | 37 | #include <asm/platform_sst_audio.h> |
38 | #include "../sst-mfld-platform.h" | 38 | #include "../sst-mfld-platform.h" |
39 | #include "sst.h" | 39 | #include "sst.h" |
40 | #include "../sst-dsp.h" | 40 | #include "../common/sst-dsp.h" |
41 | 41 | ||
42 | void memcpy32_toio(void __iomem *dst, const void *src, int count) | 42 | void memcpy32_toio(void __iomem *dst, const void *src, int count) |
43 | { | 43 | { |
diff --git a/sound/soc/intel/sst/sst_pvt.c b/sound/soc/intel/sst/sst_pvt.c index 4b7720864492..2bb0e9e0677d 100644 --- a/sound/soc/intel/sst/sst_pvt.c +++ b/sound/soc/intel/sst/sst_pvt.c | |||
@@ -34,7 +34,7 @@ | |||
34 | #include <asm/platform_sst_audio.h> | 34 | #include <asm/platform_sst_audio.h> |
35 | #include "../sst-mfld-platform.h" | 35 | #include "../sst-mfld-platform.h" |
36 | #include "sst.h" | 36 | #include "sst.h" |
37 | #include "../sst-dsp.h" | 37 | #include "../common/sst-dsp.h" |
38 | 38 | ||
39 | int sst_shim_write(void __iomem *addr, int offset, int value) | 39 | int sst_shim_write(void __iomem *addr, int offset, int value) |
40 | { | 40 | { |
diff --git a/sound/soc/intel/sst/sst_stream.c b/sound/soc/intel/sst/sst_stream.c index dae2a41997aa..7638fca02de0 100644 --- a/sound/soc/intel/sst/sst_stream.c +++ b/sound/soc/intel/sst/sst_stream.c | |||
@@ -31,7 +31,7 @@ | |||
31 | #include <asm/platform_sst_audio.h> | 31 | #include <asm/platform_sst_audio.h> |
32 | #include "../sst-mfld-platform.h" | 32 | #include "../sst-mfld-platform.h" |
33 | #include "sst.h" | 33 | #include "sst.h" |
34 | #include "../sst-dsp.h" | 34 | #include "../common/sst-dsp.h" |
35 | 35 | ||
36 | int sst_alloc_stream_mrfld(struct intel_sst_drv *sst_drv_ctx, void *params) | 36 | int sst_alloc_stream_mrfld(struct intel_sst_drv *sst_drv_ctx, void *params) |
37 | { | 37 | { |