Fabio Estevam 48ca9a52c5 mfd: mc13xxx-core: Initialize the lock prior to using it
After request_threaded_irq() is called there is a chance that an interrupt
may occur before the 'mc13xxx->lock' is initialized, which will trigger a kernel
oops.

In order to prevent that, move the initialization of 'mc13xxx->lock' prior to
requesting the interrupts.

Suggested-by: Russell King <rmk+kernel@arm.linux.org.uk>
Signed-off-by: Fabio Estevam <fabio.estevam@freescale.com>
Acked-by: Russell King <rmk+kernel@arm.linux.org.uk>
Signed-off-by: Lee Jones <lee.jones@linaro.org>
2014-06-03 08:11:13 +01:00
..
2014-05-16 23:43:56 +02:00
2014-04-05 15:37:40 -07:00
2014-04-08 13:27:40 +02:00
2014-04-29 19:23:22 +02:00
2014-04-16 12:28:47 -07:00
2014-05-07 16:28:52 -07:00
2014-05-21 18:57:25 +09:00
2014-04-24 12:53:38 -07:00
2014-04-18 16:40:08 -07:00
2014-05-17 15:49:40 -07:00
2014-05-03 18:14:28 -04:00
2014-04-03 14:05:02 -07:00
2014-04-16 14:07:51 -07:00
2014-05-13 11:21:01 +09:00
2014-05-22 04:26:23 +09:00