summaryrefslogtreecommitdiff
path: root/include/sound
diff options
context:
space:
mode:
authorDaniel Baluta <daniel.baluta@nxp.com>2019-12-14 22:10:58 +0200
committerDaniel Baluta <daniel.baluta@nxp.com>2019-12-18 11:38:03 +0200
commit0b4813a18e7a3c0269f69300625b1d136efdde42 (patch)
tree0c2ccb15cfaa6a816eb0ff05685bd9dce2e3df0c /include/sound
parent09803ef5752f358b705af014f90fc70a0926d17f (diff)
LF-537-1 ASoC: SOF: Introduce machine driver name
ACPI creates tables with information about the machine driver. With DT there is no need for such tables because we can directly get all the information needed from DT file. This patch introduces machine driver property inside dsp node. Signed-off-by: Daniel Baluta <daniel.baluta@nxp.com>
Diffstat (limited to 'include/sound')
-rw-r--r--include/sound/sof.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/include/sound/sof.h b/include/sound/sof.h
index 81889a859379..889c5644f482 100644
--- a/include/sound/sof.h
+++ b/include/sound/sof.h
@@ -48,6 +48,7 @@ struct snd_sof_pdata {
/* machine */
struct platform_device *pdev_mach;
const struct snd_soc_acpi_mach *machine;
+ const char *machine_drv_name; /* machine driver name, set only for OF case */
void *hw_pdata;
};