diff mbox series

ASOC: SOF: pci: Change DMI match info to support all Chrome platforms

Message ID 20220919114429.42700-1-pierre-louis.bossart@linux.intel.com (mailing list archive)
State Accepted
Commit c1c1fc8103f794a10c5c15e3c17879caf4f42c8f
Headers show
Series ASOC: SOF: pci: Change DMI match info to support all Chrome platforms | expand

Commit Message

Pierre-Louis Bossart Sept. 19, 2022, 11:44 a.m. UTC
From: Jairaj Arava <jairaj.arava@intel.com>

In some Chrome platforms if OEM's use their own string as SYS_VENDOR than
"Google", it leads to firmware load failure from intel/sof/community path.

Hence, changing SYS_VENDOR to PRODUCT_FAMILY in which "Google" is used
as common prefix and is supported in all Chrome platforms.

Reviewed-by: Ranjani Sridharan <ranjani.sridharan@linux.intel.com>
Reviewed-by: Chao Song <chao.song@intel.com>
Reviewed-by: Curtis Malainey <curtis@malainey.com>
Signed-off-by: Jairaj Arava <jairaj.arava@intel.com>
Signed-off-by: Curtis Malainey <cujomalainey@chromium.org>
Signed-off-by: Sathyanarayana Nujella <sathyanarayana.nujella@intel.com>
Signed-off-by: Pierre-Louis Bossart <pierre-louis.bossart@linux.intel.com>
---
 sound/soc/sof/sof-pci-dev.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

Comments

Mark Brown Sept. 19, 2022, 11:10 p.m. UTC | #1
On Mon, 19 Sep 2022 13:44:29 +0200, Pierre-Louis Bossart wrote:
> From: Jairaj Arava <jairaj.arava@intel.com>
> 
> In some Chrome platforms if OEM's use their own string as SYS_VENDOR than
> "Google", it leads to firmware load failure from intel/sof/community path.
> 
> Hence, changing SYS_VENDOR to PRODUCT_FAMILY in which "Google" is used
> as common prefix and is supported in all Chrome platforms.
> 
> [...]

Applied to

   broonie/sound.git for-next

Thanks!

[1/1] ASOC: SOF: pci: Change DMI match info to support all Chrome platforms
      commit: c1c1fc8103f794a10c5c15e3c17879caf4f42c8f

All being well this means that it will be integrated into the linux-next
tree (usually sometime in the next 24 hours) and sent to Linus during
the next merge window (or sooner if it is a bug fix), however if
problems are discovered then the patch may be dropped or reverted.

You may get further e-mails resulting from automated or manual testing
and review of the tree, please engage with people reporting problems and
send followup patches addressing any issues that are reported if needed.

If any updates are required or you are submitting further changes they
should be sent as incremental updates against current git, existing
patches will not be replaced.

Please add any relevant lists and maintainers to the CCs when replying
to this mail.

Thanks,
Mark
diff mbox series

Patch

diff --git a/sound/soc/sof/sof-pci-dev.c b/sound/soc/sof/sof-pci-dev.c
index d627092b399d7..643fd1036d60b 100644
--- a/sound/soc/sof/sof-pci-dev.c
+++ b/sound/soc/sof/sof-pci-dev.c
@@ -138,7 +138,7 @@  static const struct dmi_system_id community_key_platforms[] = {
 		.ident = "Google Chromebooks",
 		.callback = chromebook_use_community_key,
 		.matches = {
-			DMI_MATCH(DMI_SYS_VENDOR, "Google"),
+			DMI_MATCH(DMI_PRODUCT_FAMILY, "Google"),
 		}
 	},
 	{},