[PATCH 0/2] Hi655x: mfd/pmic: regulator: Correct dependencies
From: Jeremy Linton
Date: Tue Mar 21 2017 - 00:55:28 EST
In an environment where the hi655x pmic is being built as a
standalone module, it fails to automatically load resulting
in boot failures, machine hangs, etc. First we correct this
by setting an appropriate module dependency. Then we bump the
module use count on the mfd/pmic driver so that it cannot be
unloaded when in use. Again this avoids machine crashes.
Jeremy Linton (2):
mfd: hi655x: Reference required regulator driver
regulator: hi655x: Bump parent pmic module use count
drivers/mfd/hi655x-pmic.c | 1 +
drivers/regulator/hi655x-regulator.c | 26 ++++++++++++++++++++++++--
2 files changed, 25 insertions(+), 2 deletions(-)
--
2.10.2