diff options
| author | AngeloGioacchino Del Regno <[email protected]> | 2023-05-03 13:34:13 +0200 |
|---|---|---|
| committer | Mark Brown <[email protected]> | 2023-05-08 08:48:23 +0900 |
| commit | 686d041685639493a608bdcdb0d00551796721c9 (patch) | |
| tree | 992d309309a65642e9f5195418be33c731b952f7 /tools/perf/scripts/python/export-to-sqlite.py | |
| parent | 709f34b41ceffedec17d1150018cf62f8ea95842 (diff) | |
ASoC: mediatek: mt8195-afe-pcm: Clean up unnecessary functions
Function mt8195_afe_init_registers() performs just a single call to
regmap_multi_reg_write(), it returns int and it's not error checked;
move that call to the probe function and also add some error check.
While at it, also move the contents of mt8195_afe_parse_of() to the
probe function as well: since this is getting a handle to topckgen
and since that's optional, the ifdef for CONFIG_SND_SOC_MT6359 can
also be removed.
Signed-off-by: AngeloGioacchino Del Regno <[email protected]
Acked-by: Trevor Wu <[email protected]
Link: https://lore.kernel.org/r/[email protected]
Signed-off-by: Mark Brown <[email protected]
Diffstat (limited to 'tools/perf/scripts/python/export-to-sqlite.py')
0 files changed, 0 insertions, 0 deletions