[PATCH] ASoC: rk817: fix a warning in rk817_probe()
Lee Jones
lee.jones at linaro.org
Wed Jun 2 09:02:20 CEST 2021
On Tue, 01 Jun 2021, Chris Morgan wrote:
> From: Chris Morgan <macromorgan at hotmail.com>
>
> The return value of snd_soc_component_write() is stored but not
> evaluated and this results in a warning when W=1 is set. Stop storing
> the return value to be consistent with all other calls of
> snd_soc_component_write() and to remove the warning.
>
> Fixes: 0d6a04da9b25 ("ASoC: Add Rockchip rk817 audio CODEC support")
>
> Signed-off-by: Chris Morgan <macromorgan at hotmail.com>
> ---
> sound/soc/codecs/rk817_codec.c | 3 +--
> 1 file changed, 1 insertion(+), 2 deletions(-)
Applied, thanks.
Mark, I'll send out another PR shortly.
--
Lee Jones [李琼斯]
Senior Technical Lead - Developer Services
Linaro.org │ Open source software for Arm SoCs
Follow Linaro: Facebook | Twitter | Blog
More information about the Alsa-devel
mailing list