[PATCH] ARM: dts: imx27-pdk: Add PMIC support

Russell King - ARM Linux linux at arm.linux.org.uk
Tue Apr 15 14:58:19 PDT 2014


On Tue, Apr 15, 2014 at 06:55:12PM -0300, Fabio Estevam wrote:
> From: Fabio Estevam <fabio.estevam at freescale.com>
> 
> imx27-pdk has a MC13783 PMIC connected to CSPI2 port.
> 
> Add support for it.
> 
> Signed-off-by: Fabio Estevam <fabio.estevam at freescale.com>

The issue I referred to in my reply to your oops does still need fixing
(and testing whether it fixes the oops.)

It's really not on to code drivers such that it's possible to use
resources before they are initialised.  That means mutexes and locks
must be initialised before requesting (threaded) IRQs if they're used
by those functions.

In your case, that mutex *definitely* needs initialisation before the
threaded IRQ handler is requested.

-- 
FTTC broadband for 0.8mile line: now at 9.7Mbps down 460kbps up... slowly
improving, and getting towards what was expected from it.



More information about the linux-arm-kernel mailing list