]> Gentwo Git Trees - linux/.git/commit
reset: imx8mp-audiomix: Fix bad mask values
authorLaurentiu Mihalcea <laurentiu.mihalcea@nxp.com>
Tue, 4 Nov 2025 12:02:54 +0000 (04:02 -0800)
committerPhilipp Zabel <p.zabel@pengutronix.de>
Wed, 5 Nov 2025 15:12:28 +0000 (16:12 +0100)
commit997c06330fd5c2e220b692f2a358986c6c8fd5a2
tree18662ce8f15763a5ecba3b838cb36a59a0e2ec42
parent3a8660878839faadb4f1a6dd72c3179c1df56787
reset: imx8mp-audiomix: Fix bad mask values

As per the i.MX8MP TRM, section 14.2 "AUDIO_BLK_CTRL", table 14.2.3.1.1
"memory map", the definition of the EARC control register shows that the
EARC controller software reset is controlled via bit 0, while the EARC PHY
software reset is controlled via bit 1.

This means that the current definitions of IMX8MP_AUDIOMIX_EARC_RESET_MASK
and IMX8MP_AUDIOMIX_EARC_PHY_RESET_MASK are wrong since their values would
imply that the EARC controller software reset is controlled via bit 1 and
the EARC PHY software reset is controlled via bit 2. Fix them.

Fixes: a83bc87cd30a ("reset: imx8mp-audiomix: Prepare the code for more reset bits")
Cc: stable@vger.kernel.org
Reviewed-by: Shengjiu Wang <shengjiu.wang@gmail.com>
Reviewed-by: Frank Li <Frank.Li@nxp.com>
Reviewed-by: Daniel Baluta <daniel.baluta@nxp.com>
Signed-off-by: Laurentiu Mihalcea <laurentiu.mihalcea@nxp.com>
Signed-off-by: Philipp Zabel <p.zabel@pengutronix.de>
drivers/reset/reset-imx8mp-audiomix.c