]> git.ipfire.org Git - thirdparty/kernel/stable.git/commit
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)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Sat, 11 Mar 2023 12:50:36 +0000 (13:50 +0100)
commit255fe434092fc9ed9f770e81b6b5e9ae63ed0aff
tree5a831f8477c9ddffe72b9491a65ae4147bffb5bb
parent756d0c7bfabe23dbfb2e0f10c7431217d9606786
ASoC: apple: mca: Fix final status read on SERDES reset

[ Upstream commit aaf5f0d76b6e1870e3674408de2b13a92a4d4059 ]

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>
Signed-off-by: Sasha Levin <sashal@kernel.org>
sound/soc/apple/mca.c