diff options
author | Krzysztof Kozlowski <[email protected]> | 2024-07-25 13:23:47 +0200 |
---|---|---|
committer | Mark Brown <[email protected]> | 2024-07-29 01:41:19 +0100 |
commit | 42f3a2caf80910d0c251b2a407d4d220c0d3a79f (patch) | |
tree | 487f734a72e29b4627ca0d8ea8195a0660ef2af0 /tools/perf/scripts/python/parallel-perf.py | |
parent | 06fa8271273d8181cb8727e63aeec3f87a48d8c7 (diff) |
ASoC: codecs: wcd937x: Move max port number defines to enum
Instead of having separate define to indicate number of TX and RX
Soundwire ports, move it to the enums defining actual port
indices/values. This makes it more obvious why such value was chosen as
number of TX/RX ports.
Note: the enums start from 1, thus number of ports equals to the last
vaue in the enum.
WCD937X_MAX_SWR_PORTS is used in one of structures in the header, so
entire enum must be moved to the top of the header file.
Signed-off-by: Krzysztof Kozlowski <[email protected]>
Reviewed-by: Dmitry Baryshkov <[email protected]>
Link: https://patch.msgid.link/[email protected]
Signed-off-by: Mark Brown <[email protected]>
Diffstat (limited to 'tools/perf/scripts/python/parallel-perf.py')
0 files changed, 0 insertions, 0 deletions