]> 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)
commited5d2f8ea9dc406e1a75a9437ffc1987eb07c7c5
tree602abea9d8f735c3a611e69dca8eb04cc6092759
parent86ade6991643396236a69a35a431f3226c0962d1
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