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