]> git.baikalelectronics.ru Git - kernel.git/commit
ASoC: rt1011: add the range check for temperature_calib from device property
authorShuming Fan <shumingf@realtek.com>
Thu, 31 Oct 2019 11:54:36 +0000 (19:54 +0800)
committerMark Brown <broonie@kernel.org>
Thu, 31 Oct 2019 13:20:01 +0000 (14:20 +0100)
commit5400a116f68e091d9b0b565478417807e1812cc1
tree602abea9d8f735c3a611e69dca8eb04cc6092759
parent55dd5ced1e4059309449966ad166dc8b6f2873bb
ASoC: rt1011: add the range check for temperature_calib from device property

The driver will check the range for temperature_calib.
It should be from 1 to 255.

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