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