summary refs log tree commit diff
path: root/README
diff options
context:
space:
mode:
authorPeter Ujfalusi <peter.ujfalusi@linux.intel.com>2021-10-06 14:16:51 +0300
committerMark Brown <broonie@kernel.org>2021-10-07 15:45:45 +0100
commitd8a15e5fcae132dc6a44847535ce355f6fba46f8 (patch)
tree71de0fea8aae2c0cb237408449bbb22a953ca11c /README
parentec626334eaffe101df9ed79e161eba95124e64ad (diff)
downloadlinux-d8a15e5fcae132dc6a44847535ce355f6fba46f8.tar.gz
ASoC: SOF: pipelines: Harmonize all functions to use struct snd_sof_dev
First thing the pipelines function which have "struct device *dev" as
parameter do is:
struct snd_sof_dev *sdev = dev_get_drvdata(dev);

and in all cases the passed dev is actually coming from sdev->dev.

Skip this steps and pass directly the sdev to all pipelines related
functions as few of them already does this.

Signed-off-by: Peter Ujfalusi <peter.ujfalusi@linux.intel.com>
Reviewed-by: Ranjani Sridharan <ranjani.sridharan@linux.intel.com>
Reviewed-by: Kai Vehmanen <kai.vehmanen@linux.intel.com>
Link: https://lore.kernel.org/r/20211006111651.10027-1-peter.ujfalusi@linux.intel.com
Signed-off-by: Mark Brown <broonie@kernel.org>
Diffstat (limited to 'README')
0 files changed, 0 insertions, 0 deletions