diff options
author | Ranjani Sridharan <ranjani.sridharan@linux.intel.com> | 2019-12-05 00:15:48 +0300 |
---|---|---|
committer | Mark Brown <broonie@kernel.org> | 2019-12-09 21:38:01 +0300 |
commit | 3e62579436c6a7fc35de7318e6c5f495b8d0046c (patch) | |
tree | 9c42a24e6cb7b1615920cb180441db6ae5e1d4f1 /sound/soc/sof/trace.c | |
parent | 78fd4ffd75eed354c1c8b567dd0b384053c933da (diff) | |
download | linux-3e62579436c6a7fc35de7318e6c5f495b8d0046c.tar.xz |
ASoC: SOF: core: modify the signature for snd_sof_create_page_table
Modify the signature for snd_sof_create_page_table to
take struct device pointer as an argument instead of
struct snd_sof_dev as this will be used by both the SOF
core device and its clients. Also, move the definition
out of core.c to utils.c.
Signed-off-by: Ranjani Sridharan <ranjani.sridharan@linux.intel.com>
Signed-off-by: Pierre-Louis Bossart <pierre-louis.bossart@linux.intel.com>
Link: https://lore.kernel.org/r/20191204211556.12671-6-pierre-louis.bossart@linux.intel.com
Signed-off-by: Mark Brown <broonie@kernel.org>
Diffstat (limited to 'sound/soc/sof/trace.c')
-rw-r--r-- | sound/soc/sof/trace.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/sound/soc/sof/trace.c b/sound/soc/sof/trace.c index b0e4556c8536..4bb65030819d 100644 --- a/sound/soc/sof/trace.c +++ b/sound/soc/sof/trace.c @@ -250,8 +250,8 @@ int snd_sof_init_trace(struct snd_sof_dev *sdev) } /* create compressed page table for audio firmware */ - ret = snd_sof_create_page_table(sdev, &sdev->dmatb, sdev->dmatp.area, - sdev->dmatb.bytes); + ret = snd_sof_create_page_table(sdev->dev, &sdev->dmatb, + sdev->dmatp.area, sdev->dmatb.bytes); if (ret < 0) goto table_err; |