]> asedeno.scripts.mit.edu Git - linux.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)
commit64429a8711e121e5d5d93d970c5ed3492332dd18
tree5e7b5840fcca481656f5a1d308d77c9420652787
parent83a6edbb8fe928e801b9b6cab13e81109b185918
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