From: Mark Brown Date: Thu, 20 Mar 2025 15:35:21 +0000 (+0000) Subject: Tidy up ASoC control get and put handlers X-Git-Tag: v6.15-rc1~173^2~4^2~5 X-Git-Url: http://git.ipfire.org/?a=commitdiff_plain;h=47c4f9b1722fd883c9745d7877cb212e41dd2715;p=thirdparty%2Flinux.git Tidy up ASoC control get and put handlers Merge series from Charles Keepax : 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. --- 47c4f9b1722fd883c9745d7877cb212e41dd2715