]> www.infradead.org Git - users/dwmw2/linux.git/commit
ASoC: cleasnup rtd and its ID
authorMark Brown <broonie@kernel.org>
Tue, 5 Nov 2024 18:15:39 +0000 (18:15 +0000)
committerMark Brown <broonie@kernel.org>
Tue, 5 Nov 2024 18:15:39 +0000 (18:15 +0000)
commitff96429c12a488f4fddf46fae9c9630c00125964
tree93fb0192e4e00baee0302d0f929855b33a96c8a1
parent99348781d249817c8f96a7cbf636b7c6d74bd756
parent8b12da9a18f4dd53e4b3a7393829a555e84f073c
ASoC: cleasnup rtd and its ID

Merge series from Kuninori Morimoto <kuninori.morimoto.gx@renesas.com>:

rtd has own ID, but it is naming "num" for it. The naming is confusable.
This patch rename it to "id".
And many functions request both "rtd" and its "id" as function parameter,
but rtd itself has rtd->id. This patch cleanup it.

And, Qcom driver want to use irregular rtd ID because of its topology,
and thus, soc-core need irregular calculation. I'm not sure why only Qcom
needs such calculation, but this patch also cleanup it.
But I guess we want to cleanup is not soc-core but Qcom side (?)