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