]> git.ipfire.org Git - thirdparty/kernel/linux.git/commit
reset: imx8mp-audiomix: Drop unneeded macros
authorLaurentiu Mihalcea <laurentiu.mihalcea@nxp.com>
Wed, 26 Nov 2025 12:42:14 +0000 (04:42 -0800)
committerPhilipp Zabel <p.zabel@pengutronix.de>
Sat, 24 Jan 2026 15:22:49 +0000 (16:22 +0100)
commit212212062f981fe2c98d235ee008201a6dd36c28
treed796045191fbafc940260159d6aff544c5012a9a
parent16de4c6a8fe9ff497ca1aba33ef0dbee09f11952
reset: imx8mp-audiomix: Drop unneeded macros

The macros defining the mask values for the EARC, EARC PHY resets,
and the DSP RUN_STALL signal can be dropped as they are not and will
not be used anywhere else except to set the value of the "mask" field
from "struct imx8mp_reset_map". In this particular case, based on the
name of the "mask" field, you can already deduce what these values are
for, which is why defining macros for them doesn't offer any new
information, nor does it help with the code readability.

Reviewed-by: Daniel Baluta <daniel.baluta@nxp.com>
Reviewed-by: Frank Li <Frank.Li@nxp.com>
Reviewed-by: Philipp Zabel <p.zabel@pengutronix.de>
Signed-off-by: Laurentiu Mihalcea <laurentiu.mihalcea@nxp.com>
Signed-off-by: Philipp Zabel <p.zabel@pengutronix.de>
drivers/reset/reset-imx8mp-audiomix.c