Fabio Estevam
f91346e8b5
mmc: mxs: Initialize the spinlock prior to using it
...
An interrupt may occur right after devm_request_irq() is called and
prior to the spinlock initialization, leading to a kernel oops,
as the interrupt handler uses the spinlock.
In order to prevent this problem, move the spinlock initialization
prior to requesting the interrupts.
Fixes: e4243f13d10e (mmc: mxs-mmc: add mmc host driver for i.MX23/28)
Signed-off-by: Fabio Estevam <fabio.estevam@nxp.com>
Reviewed-by: Marek Vasut <marex@denx.de>
Signed-off-by: Ulf Hansson <ulf.hansson@linaro.org>
2016-11-07 13:30:08 +01:00
..
2015-09-01 14:19:11 +02:00
2016-05-02 10:33:20 +02:00
2014-10-20 16:20:56 +02:00
2016-02-29 11:02:59 +01:00
2013-10-30 20:26:37 -04:00
2016-01-05 18:04:57 +01:00
2016-09-26 21:31:25 +02:00
2016-09-26 21:31:17 +02:00
2015-03-23 14:13:28 +01:00
2016-09-26 21:31:21 +02:00
2014-09-09 13:59:05 +02:00
2016-10-25 10:39:40 +02:00
2012-11-28 12:28:18 -08:00
2016-07-25 10:34:50 +02:00
2016-11-07 08:53:46 +01:00
2016-09-22 09:34:13 +02:00
2016-07-07 10:35:09 +02:00
2016-07-25 10:34:19 +02:00
2016-07-25 10:34:14 +02:00
2016-03-16 12:36:09 +01:00
2014-09-09 13:58:46 +02:00
2014-09-09 13:58:46 +02:00
2016-05-02 10:33:21 +02:00
2014-07-09 11:25:57 +02:00
2016-09-26 21:31:07 +02:00
2016-07-25 10:34:32 +02:00
2015-12-22 11:32:12 +01:00
2016-07-25 10:34:21 +02:00
2016-11-07 13:30:08 +01:00
2016-03-17 14:54:40 +01:00
2016-09-14 13:59:33 +02:00
2016-09-14 13:59:33 +02:00
2016-07-18 11:50:40 +02:00
2016-09-26 21:31:32 +02:00
2016-10-17 15:43:03 +02:00
2016-07-25 10:34:46 +02:00
2016-07-25 10:34:46 +02:00
2016-07-29 11:29:04 +02:00
2016-09-26 21:31:30 +02:00
2016-09-26 21:31:08 +02:00
2016-09-26 21:31:28 +02:00
2016-07-29 11:29:04 +02:00
2016-07-29 11:29:04 +02:00
2016-10-13 08:58:03 +02:00
2015-10-26 16:00:08 +01:00
2016-07-29 11:29:04 +02:00
2016-10-27 09:43:01 +02:00
2016-10-10 14:01:33 +02:00
2016-07-25 10:34:21 +02:00
2016-09-26 21:31:08 +02:00
2016-07-29 11:29:04 +02:00
2016-10-10 14:20:52 +02:00
2015-06-01 09:07:14 +02:00
2015-10-26 16:00:05 +01:00
2015-10-26 16:00:05 +01:00
2016-10-10 14:20:48 +02:00
2016-05-02 10:33:25 +02:00
2016-09-26 21:31:16 +02:00
2016-07-29 11:29:04 +02:00
2016-07-29 11:29:04 +02:00
2016-10-10 14:20:41 +02:00
2013-04-19 13:51:23 +02:00
2016-07-27 11:23:37 +02:00
2016-07-27 11:25:23 +02:00
2015-07-17 16:39:53 -07:00
2016-09-12 10:31:43 +02:00
2016-09-26 21:31:23 +02:00
2016-11-07 13:26:43 +01:00
2016-10-10 14:20:41 +02:00
2016-02-29 11:02:45 +01:00
2016-07-25 10:34:25 +02:00
2016-09-26 21:31:24 +02:00
2016-09-26 21:31:27 +02:00
2014-09-24 10:13:09 +02:00
2016-05-02 10:33:40 +02:00
2016-09-26 21:31:33 +02:00
2015-06-01 09:06:48 +02:00
2016-09-26 21:31:33 +02:00
2016-04-22 01:32:37 +02:00
2014-11-26 14:30:58 +01:00
2016-05-02 10:36:06 +02:00
2014-02-25 15:42:20 -05:00
2013-10-30 20:28:36 -04:00
2016-09-26 21:31:09 +02:00
2015-10-26 15:59:53 +01:00
2015-03-23 14:13:49 +01:00