ASoC: codecs: rt722-sdca: do not store status in state container
authorKrzysztof Kozlowski <krzysztof.kozlowski@linaro.org>
Thu, 18 May 2023 07:27:53 +0000 (09:27 +0200)
committerMark Brown <broonie@kernel.org>
Thu, 18 May 2023 10:25:25 +0000 (19:25 +0900)
commitb932f21f6678659bd434c0d47e3bebc94bae0a51
treef9e00a7f28c95f2a052982ffa4baecc323077026
parent0315dac5406c9c0b8e334195aa01c4ec155adf47
ASoC: codecs: rt722-sdca: do not store status in state container

Driver in its update status callback stores Soundwire device status in
state container but it never uses it later.  Simplify the code a bit.

Signed-off-by: Krzysztof Kozlowski <krzysztof.kozlowski@linaro.org
Reviewed-by: Pierre-Louis Bossart <pierre-louis.bossart@linux.intel.com
Link: https://lore.kernel.org/r/20230518072753.7361-13-krzysztof.kozlowski@linaro.org
Signed-off-by: Mark Brown <broonie@kernel.org
sound/soc/codecs/rt722-sdca-sdw.c
sound/soc/codecs/rt722-sdca.h