]> git.baikalelectronics.ru Git - kernel.git/commit
ASoC: SOF: Check desc->ops directly in acpi/pci/of probe functions
authorPeter Ujfalusi <peter.ujfalusi@linux.intel.com>
Fri, 21 May 2021 09:27:58 +0000 (12:27 +0300)
committerMark Brown <broonie@kernel.org>
Fri, 21 May 2021 12:13:35 +0000 (13:13 +0100)
commit452c6a4e7c02c5850b660321d26f07c4bb6e7a74
treec01c8c660355e62c45adc61d8769644d558d6289
parent53eb042a8665c832f07c2fa0c9c177c5603f09c4
ASoC: SOF: Check desc->ops directly in acpi/pci/of probe functions

We can check for the desc->ops directly in the probe functions, the ops
is not used directly in the functions.

Signed-off-by: Peter Ujfalusi <peter.ujfalusi@linux.intel.com>
Reviewed-by: Rander Wang <rander.wang@intel.com>
Reviewed-by: Pierre-Louis Bossart <pierre-louis.bossart@linux.intel.com>
Signed-off-by: Kai Vehmanen <kai.vehmanen@linux.intel.com>
Link: https://lore.kernel.org/r/20210521092804.3721324-2-kai.vehmanen@linux.intel.com
Signed-off-by: Mark Brown <broonie@kernel.org>
sound/soc/sof/sof-acpi-dev.c
sound/soc/sof/sof-of-dev.c
sound/soc/sof/sof-pci-dev.c