]> www.infradead.org Git - users/jedix/linux-maple.git/commit
Tidy up ASoC control get and put handlers
authorMark Brown <broonie@kernel.org>
Thu, 20 Mar 2025 15:35:21 +0000 (15:35 +0000)
committerMark Brown <broonie@kernel.org>
Thu, 20 Mar 2025 15:35:21 +0000 (15:35 +0000)
commit47c4f9b1722fd883c9745d7877cb212e41dd2715
treeaa36a849c2d6eaf9a38255cb2a9233be5cd072fd
parent83eddf0116b09186f909bc643f2093f266f204ea
parent502a668fad12b6ca10bcbb615d62e61d3b669c99
Tidy up ASoC control get and put handlers

Merge series from Charles Keepax <ckeepax@opensource.cirrus.com>:

There is a lot of duplicated and occasionally slightly incorrect code
around the ASoC control get and put handlers. This series add some kunit
tests and then refactors the code to get all the tests passing and
reduce some of the duplication. The focus here is on the volsw handlers,
future work could still be done on some of the others but these were the
ones that most required attention.

Hopefully the only slightly controversal change is the very last patch
which changes platform_max to be applied after the control type is
determined, more discussion in the commit message for that one.