Marek Szyprowski d4f9b5428b mfd: wm8994: Fix driver operation if loaded as modules
WM8994 chip has built-in regulators, which might be used for chip
operation. They are controlled by a separate wm8994-regulator driver,
which should be loaded before this driver calls regulator_get(), because
that driver also provides consumer-supply mapping for the them. If that
driver is not yet loaded, regulator core substitute them with dummy
regulator, what breaks chip operation, because the built-in regulators are
never enabled. Fix this by annotating this driver with MODULE_SOFTDEP()
"pre" dependency to "wm8994_regulator" module.

Signed-off-by: Marek Szyprowski <m.szyprowski@samsung.com>
Acked-by: Charles Keepax <ckeepax@opensource.cirrus.com>
Signed-off-by: Lee Jones <lee.jones@linaro.org>
2020-05-26 10:51:20 +01:00
..
2020-01-24 07:33:57 +00:00
2019-08-14 09:07:20 +01:00
2019-07-15 20:18:40 -07:00
2019-12-01 16:16:31 -08:00
2020-01-09 15:30:59 -08:00
2019-07-15 20:18:40 -07:00
2019-07-02 12:11:31 +01:00
2019-07-02 12:11:31 +01:00
2019-07-15 20:18:40 -07:00
2019-07-15 20:18:40 -07:00
2017-07-18 08:27:18 +01:00
2020-03-27 09:42:44 +00:00
2019-07-09 08:59:39 -07:00