diff options
author | Pierre-Louis Bossart <pierre-louis.bossart@linux.intel.com> | 2017-03-09 19:19:02 -0500 |
---|---|---|
committer | Mark Brown <broonie@kernel.org> | 2017-03-13 12:41:18 -0400 |
commit | a9b6567d03196dc73ace1c34925c7496fb194447 (patch) | |
tree | d51406ca0eb63c7e8387324f1309b024e13d7ac9 | |
parent | 759db1c4660b558345573c7476a45c76a6aa07d2 (diff) |
ASoC: Intel: Enable bytcht_nocodec machine driver
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>
Acked-by: Vinod Koul <vinod.koul@intel.com>
Signed-off-by: Mark Brown <broonie@kernel.org>
-rw-r--r-- | sound/soc/intel/atom/sst/sst_acpi.c | 17 |
1 files changed, 16 insertions, 1 deletions
diff --git a/sound/soc/intel/atom/sst/sst_acpi.c b/sound/soc/intel/atom/sst/sst_acpi.c index b24bf08606ae..18fe46ef6ac7 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[] = { | |||
489 | &byt_rvp_platform_data }, | 489 | &byt_rvp_platform_data }, |
490 | {"10EC5648", "cht-bsw-rt5645", "intel/fw_sst_0f28.bin", "cht-bsw", NULL, | 490 | {"10EC5648", "cht-bsw-rt5645", "intel/fw_sst_0f28.bin", "cht-bsw", NULL, |
491 | &byt_rvp_platform_data }, | 491 | &byt_rvp_platform_data }, |
492 | 492 | #if IS_ENABLED(CONFIG_SND_SOC_INTEL_BYT_CHT_NOCODEC_MACH) | |
493 | /* | ||
494 | * This is always last in the table so that it is selected only when | ||
495 | * enabled explicitly and there is no codec-related information in SSDT | ||
496 | */ | ||
497 | {"80860F28", "bytcht_nocodec", "intel/fw_sst_0f28.bin", "bytcht_nocodec", NULL, | ||
498 | &byt_rvp_platform_data }, | ||
499 | #endif | ||
493 | {}, | 500 | {}, |
494 | }; | 501 | }; |
495 | 502 | ||
@@ -520,6 +527,14 @@ static struct sst_acpi_mach sst_acpi_chv[] = { | |||
520 | /* some CHT-T platforms rely on RT5651, use Baytrail machine driver */ | 527 | /* some CHT-T platforms rely on RT5651, use Baytrail machine driver */ |
521 | {"10EC5651", "bytcr_rt5651", "intel/fw_sst_22a8.bin", "bytcr_rt5651", NULL, | 528 | {"10EC5651", "bytcr_rt5651", "intel/fw_sst_22a8.bin", "bytcr_rt5651", NULL, |
522 | &chv_platform_data }, | 529 | &chv_platform_data }, |
530 | #if IS_ENABLED(CONFIG_SND_SOC_INTEL_BYT_CHT_NOCODEC_MACH) | ||
531 | /* | ||
532 | * This is always last in the table so that it is selected only when | ||
533 | * enabled explicitly and there is no codec-related information in SSDT | ||
534 | */ | ||
535 | {"808622A8", "bytcht_nocodec", "intel/fw_sst_22a8.bin", "bytcht_nocodec", NULL, | ||
536 | &chv_platform_data }, | ||
537 | #endif | ||
523 | {}, | 538 | {}, |
524 | }; | 539 | }; |
525 | 540 | ||