]> git.proxmox.com Git - mirror_ubuntu-kernels.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)
commit98b6b8df06c7929de65ca3bf28a13b11170943e3
tree602abea9d8f735c3a611e69dca8eb04cc6092759
parent270d1b39b006a408e35278d4b64b2c4e1945adf0
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