]> git.baikalelectronics.ru Git - kernel.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:55:30 +0000 (13:55 +0100)
commit7c0227318ec7683a985ee16054d50be6735cf333
tree6446ab432aa69afb9f2e726121d95d552e56591e
parent5b167774b2d7ea4dd5014f69bc60806a547efa32
ASoC: apple: mca: Fix final status read on SERDES reset

[ Upstream commit ffeceb298c8cb7aefe1106d4c3144b5c42745d73 ]

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: ce504fe0a101 ("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