Searched hist:a9d843e6b231e550f8141f27e930f90ded4edae2 (Results 1 – 1 of 1) sorted by relevance
/linux/sound/soc/codecs/ |
H A D | wcd939x.h | diff a9d843e6b231e550f8141f27e930f90ded4edae2 Thu Jul 25 13:23:49 CEST 2024 Krzysztof Kozlowski <krzysztof.kozlowski@linaro.org> ASoC: codecs: wcd939x: 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.
Signed-off-by: Krzysztof Kozlowski <krzysztof.kozlowski@linaro.org> Reviewed-by: Dmitry Baryshkov <dmitry.baryshkov@linaro.org> Link: https://patch.msgid.link/20240725-asoc-wsa88xx-port-arrays-v1-7-80a03f440c72@linaro.org Signed-off-by: Mark Brown <broonie@kernel.org>
|