]> git.baikalelectronics.ru Git - kernel.git/commit
ASoC: rt1011: fix warning reported by kbuild test robot and minor issue
authorShuming Fan <shumingf@realtek.com>
Thu, 6 Jun 2019 06:22:32 +0000 (14:22 +0800)
committerMark Brown <broonie@kernel.org>
Thu, 6 Jun 2019 20:19:35 +0000 (21:19 +0100)
commit95193090c76dd87e4a5480cdba968942dd7e3583
tree5e7b5840fcca481656f5a1d308d77c9420652787
parent852612a3f346f25b41cc3169e8cbb96c7c0da0b4
ASoC: rt1011: fix warning reported by kbuild test robot and minor issue

This patch fixes following issues:
- warning: this decimal constant is unsigned only in ISO C90
- sparse: incorrect type in assignment
- check if value.integer.value is zero for "R0 Load Mode" control

Signed-off-by: Shuming Fan <shumingf@realtek.com>
Signed-off-by: Mark Brown <broonie@kernel.org>
sound/soc/codecs/rt1011.c