Skip to contentSkip to conversation

ASoC: Intel: mfld: allow mfld machine to be build

PATCH In review Vinod Koul 3 participants 4 messages Nov 15, 2017 – Nov 17, 2017 1 message not in the archive

Subsystems (3)
lore
Share & tools
lore

Vinod Koul

author
#0 lore raw

PATCH 1/1 ASoC: Intel: mfld: allow mfld machine to be build

Commit b97169da0699: ("ASoC: Intel: create atom folder and move atom platform files in") missed adding Kconfig and Makefile support for MFLD machine driver, so add it while alos fixing the relative patch to codec header

Fixes b97169da0699: ("ASoC: Intel: create atom folder and move atom platform files in")
---
 sound/soc/intel/boards/Makefile       | 2 ++
 sound/soc/intel/boards/mfld_machine.c | 2 +-
 2 files changed, 3 insertions(+), 1 deletion(-)
sound/soc/intel/boards/Makefile +2 -0
index a5c5bc5732a2..070cb1afefe1 100644
@@ -1,3 +1,4 @@
+snd-soc-sst-mfld-objs := mfld_machine.o
 snd-soc-sst-haswell-objs := haswell.o
 snd-soc-sst-byt-rt5640-mach-objs := byt-rt5640.o
 snd-soc-sst-byt-max98090-mach-objs := byt-max98090.o
@@ -19,6 +20,7 @@ snd-soc-skl_rt286-objs := skl_rt286.o
 snd-skl_nau88l25_max98357a-objs := skl_nau88l25_max98357a.o
 snd-soc-skl_nau88l25_ssm4567-objs := skl_nau88l25_ssm4567.o
 
+obj-$(CONFIG_SND_MFLD_MACHINE) += snd-soc-sst-mfld.o
 obj-$(CONFIG_SND_SOC_INTEL_HASWELL_MACH) += snd-soc-sst-haswell.o
 obj-$(CONFIG_SND_SOC_INTEL_BYT_RT5640_MACH) += snd-soc-sst-byt-rt5640-mach.o
 obj-$(CONFIG_SND_SOC_INTEL_BYT_MAX98090_MACH) += snd-soc-sst-byt-max98090-mach.o
sound/soc/intel/boards/mfld_machine.c +1 -1
index 6f44acfb4aae..c3d80123610e 100644
@@ -33,7 +33,7 @@
 #include <sound/pcm_params.h>
 #include <sound/soc.h>
 #include <sound/jack.h>
-#include "../codecs/sn95031.h"
+#include "../../codecs/sn95031.h"
 
 #define MID_MONO 1
 #define MID_STEREO 2
Signature · 1 line
2.7.4

A message that is not in the archive (sent off-list or not yet received): [email protected]

author
#2 lore raw
Quoted 8 lines · Pierre-Louis Bossart
Quoted 4 lines · Vinod Koul

Commit b97169da0699: ("ASoC: Intel: create atom folder and move atom platform files in") missed adding Kconfig and Makefile support for MFLD machine driver, so add it while alos fixing the relative patch to codec header

Does anyone test this code? I don't think anyone on the Intel side has a working platform any longer...

That is good question, we had boards for these but not sure if this is needed. This was not compiling and noone noticed, so I dont mind removing these bits.

Any objections..

Signature · 1 line
~Vinod
#3 lore raw
Quoted 7 lines · Vinod Koul
Quoted 6 lines · Pierre-Louis Bossart
Quoted 4 lines · Vinod Koul

Commit b97169da0699: ("ASoC: Intel: create atom folder and move atom platform files in") missed adding Kconfig and Makefile support for MFLD machine driver, so add it while alos fixing the relative patch to codec header

Quoted 8 lines
Quoted 2 lines

Does anyone test this code? I don't think anyone on the Intel side has a working platform any longer...

That is good question, we had boards for these but not sure if this is needed. This was not compiling and noone noticed, so I dont mind removing these bits.

Any objections..

I saw those configs were not used and I thought it was deprecated on purpose...

#4 lore raw
Quoted 12 lines · Pierre-Louis Bossart
Quoted 10 lines · Vinod Koul
Quoted 8 lines · Pierre-Louis Bossart
Quoted 4 lines · Vinod Koul

Commit b97169da0699: ("ASoC: Intel: create atom folder and move atom platform files in") missed adding Kconfig and Makefile support for MFLD machine driver, so add it while alos fixing the relative patch to codec header

Does anyone test this code? I don't think anyone on the Intel side has a working platform any longer...

Quoted 8 lines
Quoted 5 lines

That is good question, we had boards for these but not sure if this is needed. This was not compiling and noone noticed, so I dont mind removing these bits.

Any objections..

I saw those configs were not used and I thought it was deprecated on purpose...

If dropping this would make things easier, I'm for it, too.

Takashi