diff options
author | AngeloGioacchino Del Regno <angelogioacchino.delregno@collabora.com> | 2023-06-08 10:47:27 +0200 |
---|---|---|
committer | Mark Brown <broonie@kernel.org> | 2023-06-08 11:36:21 +0100 |
commit | b0e2e4fb8a5467f4f64bcf64d1454d18cb665cc8 (patch) | |
tree | de0a63a599a92943fed1ab94627814b399731f3b /scripts/gdb/linux/utils.py | |
parent | acb43baf8b7e75acdb14920de29881e3f70c6819 (diff) |
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>
Diffstat (limited to 'scripts/gdb/linux/utils.py')
0 files changed, 0 insertions, 0 deletions