ASoC: cs35l35: Correctly handle 0 for bst_ipk
authorCharles Keepax <ckeepax@opensource.wolfsonmicro.com>
Thu, 18 May 2017 15:32:38 +0000 (16:32 +0100)
committerMark Brown <broonie@kernel.org>
Fri, 19 May 2017 16:31:34 +0000 (17:31 +0100)
commit486fb9590302f811d44fa15401e1736679d33736
tree743f116122694836bde68ab21e18d4b2954e439b
parentcff7597a46454cf0ef0de7340dfb3f6bc0855777
ASoC: cs35l35: Correctly handle 0 for bst_ipk

Zero is a totally valid value to specify for the bst_ipk, as such we
should append CS35L35_VALID_PDATA to ensure that it actually makes it
into the register value.

Signed-off-by: Charles Keepax <ckeepax@opensource.wolfsonmicro.com>
Signed-off-by: Mark Brown <broonie@kernel.org>
sound/soc/codecs/cs35l35.c