Searched hist:"3 dd26e27ccb4f18b4d25c0a49e1888eca9c6a724" (Results 1 – 1 of 1) sorted by relevance
/openbmc/linux/sound/soc/amd/vangogh/ |
H A D | acp5x-mach.c | diff 3dd26e27ccb4f18b4d25c0a49e1888eca9c6a724 Wed Jul 05 16:47:59 CDT 2023 Cristian Ciocaltea <cristian.ciocaltea@collabora.com> ASoC: amd: vangogh: Use dmi_first_match() for DMI quirk handling
In preparation for supporting ACPI probing, move DMI quirk handling logic at the probe's top, to be able to return as quickly as possible in case there is no DMI matching.
Additionally, simplify the code by replacing dmi_check_system() and related callback with dmi_first_match(). While at it, also drop a few unnecessary empty lines.
Signed-off-by: Cristian Ciocaltea <cristian.ciocaltea@collabora.com> Link: https://lore.kernel.org/r/20230705214800.193244-3-cristian.ciocaltea@collabora.com Signed-off-by: Mark Brown <broonie@kernel.org>
|