diff options
author | Nicolin Chen <nicoleotsuka@gmail.com> | 2018-02-13 01:03:24 +0300 |
---|---|---|
committer | Mark Brown <broonie@kernel.org> | 2018-02-21 15:30:59 +0300 |
commit | 76f3845110d7d40eb60c12bc64cdfe431a985947 (patch) | |
tree | 43801e0d8ac526de420d4b5e82467a08c41c3cdb /tools/perf/scripts/python/export-to-sqlite.py | |
parent | badc9595bc15686be3b01e3554421647de348df0 (diff) | |
download | linux-76f3845110d7d40eb60c12bc64cdfe431a985947.tar.xz |
ASoC: fsl_ssi: Move DT related code to a separate probe()
This patch cleans up probe() function by moving all Device Tree
related code into a separate function. It allows the probe() to
be Device Tree independent. This will be very useful for future
integration of imx-ssi driver which has similar functionalities
while exists only because it supports non-DT cases.
This patch also moves symmetric_channels of AC97 from the probe
to the structure snd_soc_dai_driver for simplification.
Additionally, since PowerPC and AC97 use the same pdev pointer
to register a platform device, this patch also unifies related
code.
Signed-off-by: Nicolin Chen <nicoleotsuka@gmail.com>
Tested-by: Caleb Crome <caleb@crome.org>
Tested-by: Maciej S. Szmigiero <mail@maciej.szmigiero.name>
Reviewed-by: Maciej S. Szmigiero <mail@maciej.szmigiero.name>
Signed-off-by: Mark Brown <broonie@kernel.org>
Diffstat (limited to 'tools/perf/scripts/python/export-to-sqlite.py')
0 files changed, 0 insertions, 0 deletions