ASoC: da7219: Move soft reset handling to codec level probe
authorAdam Thomson <Adam.Thomson.Opensource@diasemi.com>
Tue, 11 Aug 2020 16:57:24 +0000 (17:57 +0100)
committerMark Brown <broonie@kernel.org>
Mon, 17 Aug 2020 17:48:44 +0000 (18:48 +0100)
commitaa5b18d1c29023b315073661b74c67f91bf2f27c
tree4e5a5c9bcb8549b79fdd1869b98c239d9bab4eaa
parent21f279f34c212e82f0330697394840898908f7a6
ASoC: da7219: Move soft reset handling to codec level probe

As part of the reorganisation of the device level and codec
level probe functionlity, the soft reset handling should really
reside at the codec level and after the instantiation of supplies.
This commit makes the relevant changes to support this change of
scope including the remove of devm_* functions being called for
regulator instantiation at the codec level.

Signed-off-by: Adam Thomson <Adam.Thomson.Opensource@diasemi.com>
Link: https://lore.kernel.org/r/f7603a4855647429b754ce76f887ec441622015c.1597164865.git.Adam.Thomson.Opensource@diasemi.com
Signed-off-by: Mark Brown <broonie@kernel.org>
sound/soc/codecs/da7219.c