ASoC: max9867: don't use regmap defaults
authorPavel Dobias <dobias@2n.cz>
Wed, 20 May 2020 07:19:00 +0000 (09:19 +0200)
committerMark Brown <broonie@kernel.org>
Wed, 20 May 2020 14:48:17 +0000 (15:48 +0100)
commitd0de8c69f90196fb872f1739756bb0348144d18c
tree3d2b8d61c8d8ec723c059c0838e8a659cb455150
parent6ea460d52299f7febd408f2710d7c43ce505bc2c
ASoC: max9867: don't use regmap defaults

MAX9867 codec doesn't have reset pin, so the registers don't
have default values in the case of reboot without powering off.
Remove the reg_defaults struct and let the regmap read initial
state of the registers at startup instead of taking them from
reg_defaults struct.

Signed-off-by: Pavel Dobias <dobias@2n.cz>
Link: https://lore.kernel.org/r/20200520071904.15801-2-dobias@2n.cz
Signed-off-by: Mark Brown <broonie@kernel.org>
sound/soc/codecs/max9867.c