ASoC: apple: mca: Fix final status read on SERDES reset
authorMartin Povišer <povik+lin@cutebit.org>
Fri, 24 Feb 2023 15:33:00 +0000 (16:33 +0100)
committerMark Brown <broonie@kernel.org>
Fri, 24 Feb 2023 16:31:18 +0000 (16:31 +0000)
commitaaf5f0d76b6e1870e3674408de2b13a92a4d4059
tree092842949356e84cc44e992216b8659095660ca4
parentb5bfa7277ee7d944421e0ef193586c6e34d7492c
ASoC: apple: mca: Fix final status read on SERDES reset

From within the early trigger we are doing a reset of the SERDES unit,
but the final status read is on a bad address. Add the missing SERDES
unit offset in calculation of the address.

Fixes: 3df5d0d97289 ("ASoC: apple: mca: Start new platform driver")
Signed-off-by: Martin Povišer <povik+lin@cutebit.org>
Link: https://lore.kernel.org/r/20230224153302.45365-1-povik+lin@cutebit.org
Signed-off-by: Mark Brown <broonie@kernel.org>
sound/soc/apple/mca.c