]> git.baikalelectronics.ru Git - kernel.git/commit
ASoC: da7219: Fix I/O voltage range configuration during probe
authorAdam Thomson <Adam.Thomson.Opensource@diasemi.com>
Fri, 21 Aug 2020 14:22:59 +0000 (15:22 +0100)
committerMark Brown <broonie@kernel.org>
Fri, 21 Aug 2020 15:22:55 +0000 (16:22 +0100)
commit6c9e02fc9b0c7c0ab908e6d5fc9e0b1877ca04ba
treeb5983d0f22bd7dc5018fb96c7d4d6d4e4681c6f7
parentfce05372e75177fb2f9da457efe4b267b9260ffc
ASoC: da7219: Fix I/O voltage range configuration during probe

Previous improvements around handling device and codec level
probe functionality added the possibility of the voltage level
being undefined for the scenario where the IO voltage retrieved
from the regulator supply was below 1.2V, whereas previously the
code defaulted to the 2.5V to 3.6V range in that case. This
commit restores the default value to avoid this happening.

Fixes: c57d9b136d74 ("ASoC: da7219: Move soft reset handling to codec level probe")
Reported-by: Pierre-Louis Bossart <pierre-louis.bossart@linux.intel.com>
Signed-off-by: Adam Thomson <Adam.Thomson.Opensource@diasemi.com>
Link: https://lore.kernel.org/r/20200821142259.C2ECE3FB96@swsrvapps-01.diasemi.com
Signed-off-by: Mark Brown <broonie@kernel.org>
sound/soc/codecs/da7219.c