ASoC: codecs: rt712-sdca: do not store status in state container
authorKrzysztof Kozlowski <krzysztof.kozlowski@linaro.org>
Thu, 18 May 2023 07:27:50 +0000 (09:27 +0200)
committerMark Brown <broonie@kernel.org>
Thu, 18 May 2023 10:25:22 +0000 (19:25 +0900)
commit5cd02f96f49a7e6d2f8b96ddc42092776b554873
tree8047adc48ef1a4ff7470679d18c1cf8284114f48
parentd7a79616fc723305094fd7391085428b7a893636
ASoC: codecs: rt712-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-10-krzysztof.kozlowski@linaro.org
Signed-off-by: Mark Brown <broonie@kernel.org
sound/soc/codecs/rt712-sdca-sdw.c
sound/soc/codecs/rt712-sdca.h