mirror of
				https://github.com/torvalds/linux.git
				synced 2025-11-04 02:30:34 +02:00 
			
		
		
		
	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>
This commit is contained in:
		
							parent
							
								
									2106241a68
								
							
						
					
					
						commit
						ba57f68235
					
				
					 6 changed files with 13 additions and 11 deletions
				
			
		| 
						 | 
				
			
			@ -9,12 +9,10 @@ obj-$(CONFIG_SND_SST_MFLD_PLATFORM) += snd-soc-sst-mfld-platform.o
 | 
			
		|||
obj-$(CONFIG_SND_MFLD_MACHINE) += snd-soc-mfld-machine.o
 | 
			
		||||
 | 
			
		||||
# Platform Support
 | 
			
		||||
snd-soc-sst-haswell-pcm-objs := \
 | 
			
		||||
	sst-haswell-ipc.o sst-haswell-pcm.o sst-haswell-dsp.o
 | 
			
		||||
obj-$(CONFIG_SND_SOC_INTEL_HASWELL) += haswell/
 | 
			
		||||
snd-soc-sst-baytrail-pcm-objs := \
 | 
			
		||||
	sst-baytrail-ipc.o sst-baytrail-pcm.o sst-baytrail-dsp.o
 | 
			
		||||
 | 
			
		||||
obj-$(CONFIG_SND_SOC_INTEL_HASWELL) += snd-soc-sst-haswell-pcm.o
 | 
			
		||||
obj-$(CONFIG_SND_SOC_INTEL_BAYTRAIL) += snd-soc-sst-baytrail-pcm.o
 | 
			
		||||
 | 
			
		||||
# Machine support
 | 
			
		||||
| 
						 | 
				
			
			
 | 
			
		|||
							
								
								
									
										4
									
								
								sound/soc/intel/haswell/Makefile
									
									
									
									
									
										Normal file
									
								
							
							
						
						
									
										4
									
								
								sound/soc/intel/haswell/Makefile
									
									
									
									
									
										Normal file
									
								
							| 
						 | 
				
			
			@ -0,0 +1,4 @@
 | 
			
		|||
snd-soc-sst-haswell-pcm-objs := \
 | 
			
		||||
	        sst-haswell-ipc.o sst-haswell-pcm.o sst-haswell-dsp.o
 | 
			
		||||
 | 
			
		||||
obj-$(CONFIG_SND_SOC_INTEL_HASWELL) += snd-soc-sst-haswell-pcm.o
 | 
			
		||||
| 
						 | 
				
			
			@ -28,9 +28,9 @@
 | 
			
		|||
#include <linux/firmware.h>
 | 
			
		||||
#include <linux/pm_runtime.h>
 | 
			
		||||
 | 
			
		||||
#include "sst-dsp.h"
 | 
			
		||||
#include "sst-dsp-priv.h"
 | 
			
		||||
#include "sst-haswell-ipc.h"
 | 
			
		||||
#include "../common/sst-dsp.h"
 | 
			
		||||
#include "../common/sst-dsp-priv.h"
 | 
			
		||||
#include "../haswell/sst-haswell-ipc.h"
 | 
			
		||||
 | 
			
		||||
#include <trace/events/hswadsp.h>
 | 
			
		||||
 | 
			
		||||
| 
						 | 
				
			
			@ -34,8 +34,8 @@
 | 
			
		|||
#include <sound/asound.h>
 | 
			
		||||
 | 
			
		||||
#include "sst-haswell-ipc.h"
 | 
			
		||||
#include "sst-dsp.h"
 | 
			
		||||
#include "sst-dsp-priv.h"
 | 
			
		||||
#include "../common/sst-dsp.h"
 | 
			
		||||
#include "../common/sst-dsp-priv.h"
 | 
			
		||||
 | 
			
		||||
/* Global Message - Generic */
 | 
			
		||||
#define IPC_GLB_TYPE_SHIFT	24
 | 
			
		||||
| 
						 | 
				
			
			@ -29,9 +29,9 @@
 | 
			
		|||
#include <sound/tlv.h>
 | 
			
		||||
#include <sound/compress_driver.h>
 | 
			
		||||
 | 
			
		||||
#include "sst-haswell-ipc.h"
 | 
			
		||||
#include "sst-dsp-priv.h"
 | 
			
		||||
#include "sst-dsp.h"
 | 
			
		||||
#include "../haswell/sst-haswell-ipc.h"
 | 
			
		||||
#include "../common/sst-dsp-priv.h"
 | 
			
		||||
#include "../common/sst-dsp.h"
 | 
			
		||||
 | 
			
		||||
#define HSW_PCM_COUNT		6
 | 
			
		||||
#define HSW_VOLUME_MAX		0x7FFFFFFF	/* 0dB */
 | 
			
		||||
		Loading…
	
		Reference in a new issue