From 92b72e093c976311a520a4d3aace1705cc77ef71 Mon Sep 17 00:00:00 2001 From: Liam Girdwood Date: Wed, 20 Sep 2017 12:41:44 +0100 Subject: [PATCH] dai: rename dai new() to remove SSP reference. DAI driver is generic so shouldn't refer to SSP. Signed-off-by: Liam Girdwood --- src/audio/dai.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/audio/dai.c b/src/audio/dai.c index 7f4cde6bd..78592677a 100644 --- a/src/audio/dai.c +++ b/src/audio/dai.c @@ -138,7 +138,7 @@ static void dai_dma_cb(void *data, uint32_t type, struct dma_sg_elem *next) return; } -static struct comp_dev *dai_new_ssp(struct sof_ipc_comp *comp) +static struct comp_dev *dai_new(struct sof_ipc_comp *comp) { struct comp_dev *dev; struct sof_ipc_comp_dai *dai; @@ -525,7 +525,7 @@ static int dai_config(struct comp_dev *dev, struct sof_ipc_dai_config *config) static struct comp_driver comp_dai = { .type = SOF_COMP_DAI, .ops = { - .new = dai_new_ssp, + .new = dai_new, .free = dai_free, .params = dai_params, .cmd = dai_cmd,