mirror of https://lore.kernel.org/lkml/
 help / color / mirror / Atom feed
* [PATCH 0/2] Hi655x: mfd/pmic: regulator: Correct dependencies
@ 2017-03-21  4:53 Jeremy Linton
  2017-03-21  4:53 ` [PATCH 1/2] mfd: hi655x: Reference required regulator driver Jeremy Linton
  2017-03-21  4:53 ` [PATCH 2/2] regulator: hi655x: Bump parent pmic module use count Jeremy Linton
  0 siblings, 2 replies; 7+ messages in thread
From: Jeremy Linton @ 2017-03-21  4:53 UTC (permalink / raw)
  To: linux-kernel; +Cc: broonie, lgirdwood, puck.chen, lee.jones, Jeremy Linton

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

^ permalink raw reply	[flat|nested] 7+ messages in thread

end of thread, other threads:[~2017-03-23 16:31 UTC | newest]

Thread overview: 7+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2017-03-21  4:53 [PATCH 0/2] Hi655x: mfd/pmic: regulator: Correct dependencies Jeremy Linton
2017-03-21  4:53 ` [PATCH 1/2] mfd: hi655x: Reference required regulator driver Jeremy Linton
2017-03-23 16:31   ` Lee Jones
2017-03-21  4:53 ` [PATCH 2/2] regulator: hi655x: Bump parent pmic module use count Jeremy Linton
2017-03-21 11:08   ` Mark Brown
2017-03-21 20:23     ` Jeremy Linton
2017-03-22 11:43       ` Mark Brown

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox

all inboxes | Powered by JetHome®