George Cherian
2cf93bea3d
usb: gadget: f_mass_storage: call try_to_freeze only when its safe
...
Call try_to_freeze() in sleep_thread() only when it's safe to sleep.
do_read() and do_write() calls sleep_thread with lock held.
Make sure these won't call try_to_freeze() by passing can_freeze flag
to sleep_thread.
Calling try_to_freeze() with a lock hold was done since day one in
f_mass_storage but since commit 0f9548ca1 ("lockdep: check that no
locks held at freeze time") lockdep complains about it.
Signed-off-by: George Cherian <george.cherian@ti.com>
Acked-by: Sebastian Andrzej Siewior <bigeasy@linutronix.de>
Acked-by: Alan Stern <stern@rowland.harvard.edu>
Signed-off-by: Felipe Balbi <balbi@ti.com>
2013-11-25 11:34:09 -06:00
..
2013-10-10 10:24:31 -05:00
2013-10-01 09:31:16 -05:00
2013-03-18 11:16:56 +02:00
2013-08-02 15:17:03 +03:00
2013-08-02 15:17:03 +03:00
2013-08-27 15:05:35 -05:00
2013-05-24 07:14:45 +08:00
2012-09-10 16:43:24 +03:00
2013-07-30 11:18:46 +03:00
2013-09-17 10:38:52 -05:00
2013-11-25 10:54:17 -06:00
2012-10-31 15:09:44 +02:00
2013-10-01 09:50:22 -05:00
2013-10-01 09:50:22 -05:00
2013-01-21 20:52:43 +02:00
2013-10-11 16:26:46 -07:00
2012-09-10 15:37:51 +03:00
2013-07-25 20:35:23 +03:00
2013-08-30 11:10:36 -07:00
2013-09-17 11:06:44 -05:00
2013-09-17 11:06:50 -05:00
2013-11-25 11:16:49 -06:00
2012-10-31 15:09:44 +02:00
2013-01-21 20:52:40 +02:00
2013-11-25 11:34:09 -06:00
2013-10-10 10:24:53 -05:00
2012-10-31 15:09:44 +02:00
2013-07-25 11:32:15 -07:00
2013-06-10 17:29:08 +03:00
2013-07-29 14:15:23 +03:00
2013-07-25 11:32:15 -07:00
2013-04-03 14:43:35 +03:00
2013-04-23 14:12:02 +03:00
2013-07-25 11:32:15 -07:00
2013-08-09 16:34:19 +03:00
2013-06-10 17:10:23 +03:00
2013-07-13 12:09:57 -07:00
2013-03-18 11:18:18 +02:00
2013-09-17 09:36:10 -07:00
2013-06-10 17:58:11 +03:00
2013-07-30 11:18:46 +03:00
2013-10-09 20:04:04 -05:00
2012-06-12 13:32:29 +03:00
2013-07-30 11:18:46 +03:00
2013-01-18 14:08:21 +02:00
2013-01-21 20:52:46 +02:00
2013-09-17 09:36:10 -07:00
2013-04-02 16:57:24 +03:00
2013-10-10 09:40:28 -05:00
2013-01-21 20:52:40 +02:00
2012-09-10 16:43:24 +03:00
2013-01-10 12:38:52 +02:00
2013-10-11 16:26:46 -07:00
2013-03-18 11:16:45 +02:00
2013-07-30 11:18:46 +03:00
2013-09-13 10:55:58 -07:00
2013-11-25 10:54:31 -06:00
2013-10-31 14:49:01 +00:00
2013-07-30 11:18:46 +03:00
2013-01-24 21:11:29 +02:00
2013-10-11 13:50:36 -05:00
2013-10-10 10:24:10 -05:00
2013-10-10 10:24:49 -05:00
2013-10-10 09:40:31 -05:00
2012-06-22 13:08:21 +03:00
2013-07-30 11:18:46 +03:00
2013-04-02 11:42:45 +03:00
2013-06-10 17:12:52 +03:00
2012-05-12 15:02:22 -04:00
2013-08-27 12:50:53 -07:00
2013-10-11 16:26:46 -07:00
2011-09-09 16:00:09 -07:00
2013-06-10 17:32:23 +03:00
2013-07-30 11:18:46 +03:00
2012-05-04 15:52:57 +03:00
2013-10-01 09:31:17 -05:00
2013-02-22 23:31:31 -05:00
2013-11-25 10:25:58 -06:00
2013-01-24 21:11:31 +02:00
2013-07-30 11:18:46 +03:00
2013-01-24 21:11:31 +02:00
2013-07-30 11:18:46 +03:00
2012-07-30 17:25:12 -07:00
2013-10-11 16:26:46 -07:00
2013-06-10 17:58:09 +03:00
2013-07-30 11:18:46 +03:00
2013-01-24 21:11:32 +02:00
2013-11-25 10:25:58 -06:00
2012-05-04 15:53:17 +03:00
2013-07-30 11:18:46 +03:00
2013-04-03 14:43:36 +03:00
2013-10-15 06:52:08 -05:00
2013-11-25 10:56:33 -06:00
2013-11-25 11:19:41 -06:00
2012-09-10 16:13:00 +03:00
2013-06-10 17:27:54 +03:00
2013-06-10 17:58:00 +03:00
2013-06-10 17:15:43 +03:00
2013-06-10 17:57:45 +03:00
2013-06-10 17:57:47 +03:00
2013-06-10 17:58:08 +03:00
2013-06-10 17:15:02 +03:00
2013-06-10 17:31:55 +03:00
2013-06-10 17:58:10 +03:00
2013-03-14 12:47:53 +02:00
2013-04-03 14:43:20 +03:00
2013-08-09 16:34:13 +03:00
2012-02-15 10:09:48 +02:00
2013-10-04 09:44:43 -05:00
2012-09-10 16:13:03 +03:00
2013-08-09 17:40:54 +03:00
2013-04-02 11:42:48 +03:00
2013-04-02 11:42:49 +03:00
2013-04-02 11:42:48 +03:00
2013-06-21 11:04:47 -03:00
2013-01-10 12:38:52 +02:00
2013-11-25 11:12:15 -06:00