]> www.infradead.org Git - users/jedix/linux-maple.git/commit
ASoC: rt722-sdca: Make use of new expanded MBQ regmap
authorCharles Keepax <ckeepax@opensource.cirrus.com>
Tue, 7 Jan 2025 15:44:08 +0000 (15:44 +0000)
committerMark Brown <broonie@kernel.org>
Mon, 3 Feb 2025 14:03:43 +0000 (14:03 +0000)
commit299ce4beaf714abe76e3ad106f2e745748f693e9
tree66d89eea0c973854583d918e240b63dd9f4e8d3c
parentf9a5c4b6afc79073491acdab7f1e943ee3a19fbb
ASoC: rt722-sdca: Make use of new expanded MBQ regmap

Now the MBQ regmap implementation handles multiple sizes, this driver
can combine its two register maps into one. So remove mbq_regmap and
combine all the registers into regmap.

Also as rt722_sdca_adc_mux_get/put() only exist to access mbq_regmap,
rather than doing any processing, these can now be dropped and the
normal DAPM helpers used.

Signed-off-by: Charles Keepax <ckeepax@opensource.cirrus.com>
Reviewed-by: Pierre-Louis Bossart <pierre-louis.bossart@linux.dev>
Link: https://patch.msgid.link/20250107154408.814455-7-ckeepax@opensource.cirrus.com
Signed-off-by: Mark Brown <broonie@kernel.org>
sound/soc/codecs/rt722-sdca-sdw.c
sound/soc/codecs/rt722-sdca-sdw.h
sound/soc/codecs/rt722-sdca.c
sound/soc/codecs/rt722-sdca.h