From: Pierre-Louis Bossart <pierre-louis.bossart@linux.intel.com>
To: alsa-devel@alsa-project.org
Cc: tiwai@suse.de, vinod.koul@intel.com,
Adam.Thomson.Opensource@diasemi.com, broonie@kernel.org,
Pierre-Louis Bossart <pierre-louis.bossart@linux.intel.com>
Subject: [PATCH 5/5] ASoC: Intel: Enable bytcht_nocodec machine driver
Date: Thu, 9 Mar 2017 18:19:02 -0600 [thread overview]
Message-ID: <1489105142-25878-6-git-send-email-pierre-louis.bossart@linux.intel.com> (raw)
In-Reply-To: <1489105142-25878-1-git-send-email-pierre-louis.bossart@linux.intel.com>
Make sure this machine driver is only used if enabled explicitly
and if there is no information found in the SSDT.
Signed-off-by: Pierre-Louis Bossart <pierre-louis.bossart@linux.intel.com>
---
sound/soc/intel/atom/sst/sst_acpi.c | 17 ++++++++++++++++-
1 file changed, 16 insertions(+), 1 deletion(-)
diff --git a/sound/soc/intel/atom/sst/sst_acpi.c b/sound/soc/intel/atom/sst/sst_acpi.c
index b24bf08..18fe46e 100644
--- a/sound/soc/intel/atom/sst/sst_acpi.c
+++ b/sound/soc/intel/atom/sst/sst_acpi.c
@@ -489,7 +489,14 @@ static struct sst_acpi_mach sst_acpi_bytcr[] = {
&byt_rvp_platform_data },
{"10EC5648", "cht-bsw-rt5645", "intel/fw_sst_0f28.bin", "cht-bsw", NULL,
&byt_rvp_platform_data },
-
+#if IS_ENABLED(CONFIG_SND_SOC_INTEL_BYT_CHT_NOCODEC_MACH)
+ /*
+ * This is always last in the table so that it is selected only when
+ * enabled explicitly and there is no codec-related information in SSDT
+ */
+ {"80860F28", "bytcht_nocodec", "intel/fw_sst_0f28.bin", "bytcht_nocodec", NULL,
+ &byt_rvp_platform_data },
+#endif
{},
};
@@ -520,6 +527,14 @@ static struct sst_acpi_mach sst_acpi_chv[] = {
/* some CHT-T platforms rely on RT5651, use Baytrail machine driver */
{"10EC5651", "bytcr_rt5651", "intel/fw_sst_22a8.bin", "bytcr_rt5651", NULL,
&chv_platform_data },
+#if IS_ENABLED(CONFIG_SND_SOC_INTEL_BYT_CHT_NOCODEC_MACH)
+ /*
+ * This is always last in the table so that it is selected only when
+ * enabled explicitly and there is no codec-related information in SSDT
+ */
+ {"808622A8", "bytcht_nocodec", "intel/fw_sst_22a8.bin", "bytcht_nocodec", NULL,
+ &chv_platform_data },
+#endif
{},
};
--
2.7.4
next prev parent reply other threads:[~2017-03-10 0:19 UTC|newest]
Thread overview: 15+ messages / expand[flat|nested] mbox.gz Atom feed top
2017-03-10 0:18 [PATCH 0/5] MinnowBoard MAX support for DA7212 Pierre-Louis Bossart
2017-03-10 0:18 ` [PATCH 1/5] ASoC: da7213: add ACPI support Pierre-Louis Bossart
2017-03-13 16:10 ` Adam Thomson
2017-03-13 19:07 ` Pierre-Louis Bossart
2017-03-13 22:43 ` Adam Thomson
2017-03-13 16:58 ` Applied "ASoC: da7213: add ACPI support" to the asoc tree Mark Brown
2017-03-10 0:18 ` [PATCH 2/5] ASoC: Intel: add machine driver for BYT/CHT + DA7213 Pierre-Louis Bossart
2017-03-13 16:58 ` Applied "ASoC: Intel: add machine driver for BYT/CHT + DA7213" to the asoc tree Mark Brown
2017-03-10 0:19 ` [PATCH 3/5] ASoC: Intel: Atom: enable BYT/CHT+DA7213 machine driver Pierre-Louis Bossart
2017-03-13 16:58 ` Applied "ASoC: Intel: Atom: enable BYT/CHT+DA7213 machine driver" to the asoc tree Mark Brown
2017-03-10 0:19 ` [PATCH 4/5] ASoC: Intel: boards: add card for MinnowBoardMax/Up I2S access Pierre-Louis Bossart
2017-03-13 16:58 ` Applied "ASoC: Intel: boards: add card for MinnowBoardMax/Up I2S access" to the asoc tree Mark Brown
2017-03-10 0:19 ` Pierre-Louis Bossart [this message]
2017-03-13 16:57 ` Applied "ASoC: Intel: Enable bytcht_nocodec machine driver" " Mark Brown
2017-03-10 4:17 ` [PATCH 0/5] MinnowBoard MAX support for DA7212 Vinod Koul
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=1489105142-25878-6-git-send-email-pierre-louis.bossart@linux.intel.com \
--to=pierre-louis.bossart@linux.intel.com \
--cc=Adam.Thomson.Opensource@diasemi.com \
--cc=alsa-devel@alsa-project.org \
--cc=broonie@kernel.org \
--cc=tiwai@suse.de \
--cc=vinod.koul@intel.com \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).