mirror of https://github.com/thesofproject/sof.git
dai: rename dai new() to remove SSP reference.
DAI driver is generic so shouldn't refer to SSP. Signed-off-by: Liam Girdwood <liam.r.girdwood@linux.intel.com>
This commit is contained in:
parent
7d00023689
commit
92b72e093c
|
@ -138,7 +138,7 @@ static void dai_dma_cb(void *data, uint32_t type, struct dma_sg_elem *next)
|
||||||
return;
|
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 comp_dev *dev;
|
||||||
struct sof_ipc_comp_dai *dai;
|
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 = {
|
static struct comp_driver comp_dai = {
|
||||||
.type = SOF_COMP_DAI,
|
.type = SOF_COMP_DAI,
|
||||||
.ops = {
|
.ops = {
|
||||||
.new = dai_new_ssp,
|
.new = dai_new,
|
||||||
.free = dai_free,
|
.free = dai_free,
|
||||||
.params = dai_params,
|
.params = dai_params,
|
||||||
.cmd = dai_cmd,
|
.cmd = dai_cmd,
|
||||||
|
|
Loading…
Reference in New Issue