diff options
author | Jie Yang <yang.jie@intel.com> | 2015-04-02 03:37:01 -0400 |
---|---|---|
committer | Mark Brown <broonie@kernel.org> | 2015-04-06 12:49:45 -0400 |
commit | ba57f68235cf6e9105bf649b01cf9eafc321ea7b (patch) | |
tree | 52ec17ce27a6656cee9d7eddd678c0c3624ac857 | |
parent | 2106241a680397f6f49da796a4ce11eb5cf2698e (diff) |
ASoC: Intel: create haswell folder and move haswell platform files in
Restructure the sound/soc/intel/ directory: create haswell folder, and
move haswell platform files here.
Signed-off-by: Jie Yang <yang.jie@intel.com>
Reviewed-by: Liam Girdwood <liam.r.girdwood@linux.intel.com>
Signed-off-by: Mark Brown <broonie@kernel.org>
-rw-r--r-- | sound/soc/intel/Makefile | 4 | ||||
-rw-r--r-- | sound/soc/intel/haswell/Makefile | 4 | ||||
-rw-r--r-- | sound/soc/intel/haswell/sst-haswell-dsp.c (renamed from sound/soc/intel/sst-haswell-dsp.c) | 6 | ||||
-rw-r--r-- | sound/soc/intel/haswell/sst-haswell-ipc.c (renamed from sound/soc/intel/sst-haswell-ipc.c) | 4 | ||||
-rw-r--r-- | sound/soc/intel/haswell/sst-haswell-ipc.h (renamed from sound/soc/intel/sst-haswell-ipc.h) | 0 | ||||
-rw-r--r-- | sound/soc/intel/haswell/sst-haswell-pcm.c (renamed from sound/soc/intel/sst-haswell-pcm.c) | 6 |
6 files changed, 13 insertions, 11 deletions
diff --git a/sound/soc/intel/Makefile b/sound/soc/intel/Makefile index 28de8cd6f321..eb3efce4ec24 100644 --- a/sound/soc/intel/Makefile +++ b/sound/soc/intel/Makefile | |||
@@ -9,12 +9,10 @@ obj-$(CONFIG_SND_SST_MFLD_PLATFORM) += snd-soc-sst-mfld-platform.o | |||
9 | obj-$(CONFIG_SND_MFLD_MACHINE) += snd-soc-mfld-machine.o | 9 | obj-$(CONFIG_SND_MFLD_MACHINE) += snd-soc-mfld-machine.o |
10 | 10 | ||
11 | # Platform Support | 11 | # Platform Support |
12 | snd-soc-sst-haswell-pcm-objs := \ | 12 | obj-$(CONFIG_SND_SOC_INTEL_HASWELL) += haswell/ |
13 | sst-haswell-ipc.o sst-haswell-pcm.o sst-haswell-dsp.o | ||
14 | snd-soc-sst-baytrail-pcm-objs := \ | 13 | snd-soc-sst-baytrail-pcm-objs := \ |
15 | sst-baytrail-ipc.o sst-baytrail-pcm.o sst-baytrail-dsp.o | 14 | sst-baytrail-ipc.o sst-baytrail-pcm.o sst-baytrail-dsp.o |
16 | 15 | ||
17 | obj-$(CONFIG_SND_SOC_INTEL_HASWELL) += snd-soc-sst-haswell-pcm.o | ||
18 | obj-$(CONFIG_SND_SOC_INTEL_BAYTRAIL) += snd-soc-sst-baytrail-pcm.o | 16 | obj-$(CONFIG_SND_SOC_INTEL_BAYTRAIL) += snd-soc-sst-baytrail-pcm.o |
19 | 17 | ||
20 | # Machine support | 18 | # Machine support |
diff --git a/sound/soc/intel/haswell/Makefile b/sound/soc/intel/haswell/Makefile new file mode 100644 index 000000000000..9c1723112d22 --- /dev/null +++ b/sound/soc/intel/haswell/Makefile | |||
@@ -0,0 +1,4 @@ | |||
1 | snd-soc-sst-haswell-pcm-objs := \ | ||
2 | sst-haswell-ipc.o sst-haswell-pcm.o sst-haswell-dsp.o | ||
3 | |||
4 | obj-$(CONFIG_SND_SOC_INTEL_HASWELL) += snd-soc-sst-haswell-pcm.o | ||
diff --git a/sound/soc/intel/sst-haswell-dsp.c b/sound/soc/intel/haswell/sst-haswell-dsp.c index b3e957d46933..7f94920c8a4d 100644 --- a/sound/soc/intel/sst-haswell-dsp.c +++ b/sound/soc/intel/haswell/sst-haswell-dsp.c | |||
@@ -28,9 +28,9 @@ | |||
28 | #include <linux/firmware.h> | 28 | #include <linux/firmware.h> |
29 | #include <linux/pm_runtime.h> | 29 | #include <linux/pm_runtime.h> |
30 | 30 | ||
31 | #include "sst-dsp.h" | 31 | #include "../common/sst-dsp.h" |
32 | #include "sst-dsp-priv.h" | 32 | #include "../common/sst-dsp-priv.h" |
33 | #include "sst-haswell-ipc.h" | 33 | #include "../haswell/sst-haswell-ipc.h" |
34 | 34 | ||
35 | #include <trace/events/hswadsp.h> | 35 | #include <trace/events/hswadsp.h> |
36 | 36 | ||
diff --git a/sound/soc/intel/sst-haswell-ipc.c b/sound/soc/intel/haswell/sst-haswell-ipc.c index 20b629a011de..28667d8e2005 100644 --- a/sound/soc/intel/sst-haswell-ipc.c +++ b/sound/soc/intel/haswell/sst-haswell-ipc.c | |||
@@ -34,8 +34,8 @@ | |||
34 | #include <sound/asound.h> | 34 | #include <sound/asound.h> |
35 | 35 | ||
36 | #include "sst-haswell-ipc.h" | 36 | #include "sst-haswell-ipc.h" |
37 | #include "sst-dsp.h" | 37 | #include "../common/sst-dsp.h" |
38 | #include "sst-dsp-priv.h" | 38 | #include "../common/sst-dsp-priv.h" |
39 | 39 | ||
40 | /* Global Message - Generic */ | 40 | /* Global Message - Generic */ |
41 | #define IPC_GLB_TYPE_SHIFT 24 | 41 | #define IPC_GLB_TYPE_SHIFT 24 |
diff --git a/sound/soc/intel/sst-haswell-ipc.h b/sound/soc/intel/haswell/sst-haswell-ipc.h index 06d71aefa1fe..06d71aefa1fe 100644 --- a/sound/soc/intel/sst-haswell-ipc.h +++ b/sound/soc/intel/haswell/sst-haswell-ipc.h | |||
diff --git a/sound/soc/intel/sst-haswell-pcm.c b/sound/soc/intel/haswell/sst-haswell-pcm.c index 31ffc0f0498f..157b3a6c509e 100644 --- a/sound/soc/intel/sst-haswell-pcm.c +++ b/sound/soc/intel/haswell/sst-haswell-pcm.c | |||
@@ -29,9 +29,9 @@ | |||
29 | #include <sound/tlv.h> | 29 | #include <sound/tlv.h> |
30 | #include <sound/compress_driver.h> | 30 | #include <sound/compress_driver.h> |
31 | 31 | ||
32 | #include "sst-haswell-ipc.h" | 32 | #include "../haswell/sst-haswell-ipc.h" |
33 | #include "sst-dsp-priv.h" | 33 | #include "../common/sst-dsp-priv.h" |
34 | #include "sst-dsp.h" | 34 | #include "../common/sst-dsp.h" |
35 | 35 | ||
36 | #define HSW_PCM_COUNT 6 | 36 | #define HSW_PCM_COUNT 6 |
37 | #define HSW_VOLUME_MAX 0x7FFFFFFF /* 0dB */ | 37 | #define HSW_VOLUME_MAX 0x7FFFFFFF /* 0dB */ |