ASoC: Move quirk to identify correct machine driver
sst_acpi_mach has a quirk field to handle board specific quirks. Patch moves quirk call to sst_acpi_find_machine() instead of calling it in respective driver Signed-off-by: Naveen M <naveen.m@intel.com> Signed-off-by: Subhransu S. Prusty <subhransu.s.prusty@intel.com> Acked-by: Vinod Koul <vinod.koul@intel.com> Signed-off-by: Mark Brown <broonie@kernel.org>
Este cometimento está contido em:

cometido por
Mark Brown

ascendente
915ae2b9f0
cometimento
7827d66946
@@ -303,8 +303,6 @@ static int sst_acpi_probe(struct platform_device *pdev)
|
||||
dev_err(dev, "No matching machine driver found\n");
|
||||
return -ENODEV;
|
||||
}
|
||||
if (mach->machine_quirk)
|
||||
mach = mach->machine_quirk(mach);
|
||||
|
||||
pdata = mach->pdata;
|
||||
|
||||
|
Criar uma nova questão referindo esta
Bloquear um utilizador