diff options
| author | Sylwester Nawrocki <[email protected]> | 2019-10-02 12:56:50 +0200 |
|---|---|---|
| committer | Mark Brown <[email protected]> | 2019-10-02 12:51:24 +0100 |
| commit | aaa68472ed1fa763336335f1278d65fcddd0056e (patch) | |
| tree | 659c4e4f9754a887cf6fefff4a92f19fbd7c3b38 /tools/perf/scripts/python | |
| parent | 25317997cbcd0497a9460f79c322e0fde0b5b1a9 (diff) | |
ASoC: samsung: arndale: Simplify DAI link initialization
There is only one DAI link so we can drop an unnecessary loop statement.
Use card->dai_link in place of direct static arndale_rt5631_dai[] array
dereference as a prerequisite for adding support for other CODECs.
Unnecessary assignment of dai_link->codecs->name to NULL is removed.
Reviewed-by: Charles Keepax <[email protected]>
Acked-by: Krzysztof Kozlowski <[email protected]>
Signed-off-by: Sylwester Nawrocki <[email protected]>
Link: https://lore.kernel.org/r/[email protected]
Signed-off-by: Mark Brown <[email protected]>
Diffstat (limited to 'tools/perf/scripts/python')
0 files changed, 0 insertions, 0 deletions