linux/sound/soc/mediatek
AngeloGioacchino Del Regno b0e2e4fb8a
ASoC: mediatek: mt8188-mt6359: Use bitfield macros for registers
Replace open coded instances of FIELD_GET() with it, move register
definitions at the top of the file and also replace magic numbers
with register definitions.

While at it, also change a regmap_update_bits() call to regmap_write()
because the top 29 bits of AUD_TOP_CFG (31:3) are reserved (unused).

Signed-off-by: AngeloGioacchino Del Regno <angelogioacchino.delregno@collabora.com>
Reviewed-by: Alexandre Mergnat <amergnat@baylibre.com>
Link: https://lore.kernel.org/r/20230608084727.74403-6-angelogioacchino.delregno@collabora.com
Signed-off-by: Mark Brown <broonie@kernel.org>
2023-06-08 11:36:21 +01:00
..
common ASoC: mediatek: common: soundcard driver add dai_fmt support 2023-06-02 13:29:08 +01:00
mt2701 ASoC: mediatek: mt2701-afe-pcm: Convert to platform remove callback returning void 2023-03-20 13:08:36 +00:00
mt6797 ASoC: mediatek: mt6797-afe-pcm: Convert to platform remove callback returning void 2023-03-20 13:08:37 +00:00
mt8173 ASoC: mediatek: mt8173-afe-pcm: Convert to platform remove callback returning void 2023-03-20 13:08:38 +00:00
mt8183 ASoC: mediatek: mt8183-afe-pcm: Convert to platform remove callback returning void 2023-03-20 13:08:39 +00:00
mt8186 ES8316 audio codec fixes on Rock5B 2023-05-30 20:41:29 +01:00
mt8188 ASoC: mediatek: mt8188-mt6359: Use bitfield macros for registers 2023-06-08 11:36:21 +01:00
mt8192 ASoC: do not include pm_runtime.h if not used 2023-05-23 13:55:55 +01:00
mt8195 ASoC: mediatek: mt8195-afe-pcm: Simplify with dev_err_probe() 2023-05-08 08:48:24 +09:00
Kconfig ASoC: mediatek: mt8188-mt6359: add i2c dependency 2023-06-07 14:07:29 +01:00
Makefile ASoC: mediatek: mt8188: add platform driver 2023-01-16 11:16:26 +00:00