Skip to content

Commit

Permalink
ASoC: Intel: create common folder and move common files in
Browse files Browse the repository at this point in the history
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>
  • Loading branch information
Jie Yang authored and Mark Brown committed Apr 6, 2015
1 parent 2c0ed63 commit 2106241
Show file tree
Hide file tree
Showing 14 changed files with 14 additions and 12 deletions.
6 changes: 1 addition & 5 deletions sound/soc/intel/Makefile
Original file line number Diff line number Diff line change
@@ -1,6 +1,5 @@
# Core support
snd-soc-sst-dsp-objs := sst-dsp.o sst-firmware.o
snd-soc-sst-acpi-objs := sst-acpi.o
obj-$(CONFIG_SND_SOC_INTEL_SST) += common/

snd-soc-sst-mfld-platform-objs := sst-mfld-platform-pcm.o \
sst-mfld-platform-compress.o sst-atom-controls.o
Expand All @@ -9,9 +8,6 @@ snd-soc-mfld-machine-objs := mfld_machine.o
obj-$(CONFIG_SND_SST_MFLD_PLATFORM) += snd-soc-sst-mfld-platform.o
obj-$(CONFIG_SND_MFLD_MACHINE) += snd-soc-mfld-machine.o

obj-$(CONFIG_SND_SOC_INTEL_SST) += snd-soc-sst-dsp.o
obj-$(CONFIG_SND_SOC_INTEL_SST_ACPI) += snd-soc-sst-acpi.o

# Platform Support
snd-soc-sst-haswell-pcm-objs := \
sst-haswell-ipc.o sst-haswell-pcm.o sst-haswell-dsp.o
Expand Down
6 changes: 6 additions & 0 deletions sound/soc/intel/common/Makefile
Original file line number Diff line number Diff line change
@@ -0,0 +1,6 @@
snd-soc-sst-dsp-objs := sst-dsp.o sst-firmware.o
snd-soc-sst-acpi-objs := sst-acpi.o

obj-$(CONFIG_SND_SOC_INTEL_SST) += snd-soc-sst-dsp.o
obj-$(CONFIG_SND_SOC_INTEL_SST_ACPI) += snd-soc-sst-acpi.o

File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
2 changes: 1 addition & 1 deletion sound/soc/intel/sst/sst.c
Original file line number Diff line number Diff line change
Expand Up @@ -32,7 +32,7 @@
#include <asm/platform_sst_audio.h>
#include "../sst-mfld-platform.h"
#include "sst.h"
#include "../sst-dsp.h"
#include "../common/sst-dsp.h"

MODULE_AUTHOR("Vinod Koul <vinod.koul@intel.com>");
MODULE_AUTHOR("Harsha Priya <priya.harsha@intel.com>");
Expand Down
2 changes: 1 addition & 1 deletion sound/soc/intel/sst/sst_acpi.c
Original file line number Diff line number Diff line change
Expand Up @@ -39,7 +39,7 @@
#include <acpi/actypes.h>
#include <acpi/acpi_bus.h>
#include "../sst-mfld-platform.h"
#include "../sst-dsp.h"
#include "../common/sst-dsp.h"
#include "sst.h"

struct sst_machines {
Expand Down
2 changes: 1 addition & 1 deletion sound/soc/intel/sst/sst_drv_interface.c
Original file line number Diff line number Diff line change
Expand Up @@ -32,7 +32,7 @@
#include <asm/platform_sst_audio.h>
#include "../sst-mfld-platform.h"
#include "sst.h"
#include "../sst-dsp.h"
#include "../common/sst-dsp.h"



Expand Down
2 changes: 1 addition & 1 deletion sound/soc/intel/sst/sst_ipc.c
Original file line number Diff line number Diff line change
Expand Up @@ -32,7 +32,7 @@
#include <asm/platform_sst_audio.h>
#include "../sst-mfld-platform.h"
#include "sst.h"
#include "../sst-dsp.h"
#include "../common/sst-dsp.h"

struct sst_block *sst_create_block(struct intel_sst_drv *ctx,
u32 msg_id, u32 drv_id)
Expand Down
2 changes: 1 addition & 1 deletion sound/soc/intel/sst/sst_loader.c
Original file line number Diff line number Diff line change
Expand Up @@ -37,7 +37,7 @@
#include <asm/platform_sst_audio.h>
#include "../sst-mfld-platform.h"
#include "sst.h"
#include "../sst-dsp.h"
#include "../common/sst-dsp.h"

void memcpy32_toio(void __iomem *dst, const void *src, int count)
{
Expand Down
2 changes: 1 addition & 1 deletion sound/soc/intel/sst/sst_pvt.c
Original file line number Diff line number Diff line change
Expand Up @@ -34,7 +34,7 @@
#include <asm/platform_sst_audio.h>
#include "../sst-mfld-platform.h"
#include "sst.h"
#include "../sst-dsp.h"
#include "../common/sst-dsp.h"

int sst_shim_write(void __iomem *addr, int offset, int value)
{
Expand Down
2 changes: 1 addition & 1 deletion sound/soc/intel/sst/sst_stream.c
Original file line number Diff line number Diff line change
Expand Up @@ -31,7 +31,7 @@
#include <asm/platform_sst_audio.h>
#include "../sst-mfld-platform.h"
#include "sst.h"
#include "../sst-dsp.h"
#include "../common/sst-dsp.h"

int sst_alloc_stream_mrfld(struct intel_sst_drv *sst_drv_ctx, void *params)
{
Expand Down

0 comments on commit 2106241

Please sign in to comment.