Mark Brown
06891af270
spi: spl022: fix sleeping in interrupt context
...
Merge series from Nam Cao <namcao@linutronix.de>:
While running the spl022, I got the following warning:
BUG: sleeping function called from invalid context at drivers/spi/spi.c:1428
This is because between spi transfers, spi_transfer_delay_exec() (who
may sleep if the delay is >10us) is called in interrupt context. This is
a problem for anyone who runs this driver and need more than 10us delay.
Patch 1 adds an error reporting mechanism, needed by patch 2 who switch
to use the default spi_transfer_one_message(), which fix the problem.
The series is tested with polling transfer mode and interrupt transfer
mode. I can't test the DMA mode, so some help testing here is very
appreciated.
2023-12-04 12:31:42 +00:00
..
2023-11-30 12:12:39 +00:00
2023-11-13 01:26:39 +00:00
2023-10-11 11:33:38 +02:00
2023-03-11 12:34:01 +00:00
2022-12-29 13:22:04 +00:00
2022-12-29 13:22:05 +00:00
2023-08-14 13:11:15 +01:00
2023-08-14 13:10:48 +01:00
2023-09-11 01:31:52 +01:00
2023-09-11 01:31:53 +01:00
2023-09-11 01:31:54 +01:00
2023-09-25 16:27:48 +02:00
2023-11-30 12:12:39 +00:00
2023-07-12 12:44:34 +01:00
2023-08-14 13:10:49 +01:00
2023-11-20 13:29:15 +00:00
2023-08-07 14:38:23 +01:00
2023-08-07 14:38:24 +01:00
2023-10-10 13:12:11 +01:00
2023-09-11 01:31:57 +01:00
2023-11-30 12:12:39 +00:00
2022-10-18 19:16:53 +01:00
2023-08-14 13:10:59 +01:00
2023-07-11 13:41:20 +01:00
2023-07-11 14:12:56 +01:00
2023-03-06 12:31:15 +00:00
2023-08-07 14:38:25 +01:00
2023-09-26 14:49:24 +02:00
2023-11-13 01:26:38 +00:00
2023-09-11 01:31:58 +01:00
2023-08-07 14:38:29 +01:00
2023-09-11 01:31:59 +01:00
2023-03-11 12:34:01 +00:00
2023-08-07 14:38:28 +01:00
2023-08-07 14:38:31 +01:00
2023-09-22 15:43:17 +01:00
2023-09-11 01:32:00 +01:00
2023-08-07 14:38:32 +01:00
2023-09-11 01:32:01 +01:00
2023-08-07 14:38:33 +01:00
2023-08-07 14:38:33 +01:00
2023-09-11 01:32:02 +01:00
2021-11-16 14:30:05 +00:00
2023-08-07 14:38:33 +01:00
2023-08-14 13:10:50 +01:00
2023-08-14 13:10:51 +01:00
2023-08-14 13:10:52 +01:00
2023-08-09 12:52:49 +01:00
2023-09-11 01:32:02 +01:00
2023-08-14 13:10:54 +01:00
2023-07-14 20:53:00 +01:00
2023-07-25 17:40:28 +01:00
2023-08-14 13:10:54 +01:00
2023-08-14 13:10:55 +01:00
2023-08-14 13:10:56 +01:00
2023-10-09 13:14:30 +01:00
2023-08-14 13:10:57 +01:00
2023-09-27 17:06:36 +02:00
2023-08-07 14:38:34 +01:00
2023-08-14 13:11:00 +01:00
2023-08-14 13:11:01 +01:00
2023-09-18 13:05:27 +01:00
2023-11-20 13:13:37 +00:00
2023-09-11 20:33:30 +01:00
2022-02-14 12:53:09 +00:00
2023-11-18 12:36:34 +00:00
2022-02-14 12:53:09 +00:00
2023-08-21 13:10:56 +01:00
2023-08-14 13:11:05 +01:00
2023-09-11 01:32:03 +01:00
2023-10-11 11:33:38 +02:00
2023-09-11 01:31:30 +01:00
2023-07-31 15:57:09 +01:00
2023-07-31 15:57:09 +01:00
2023-07-31 15:57:09 +01:00
2023-07-31 15:57:09 +01:00
2023-07-14 20:53:00 +01:00
2023-09-11 01:31:31 +01:00
2023-11-30 12:12:39 +00:00
2023-09-11 22:43:17 +01:00
2023-09-11 22:43:17 +01:00
2023-09-11 22:43:17 +01:00
2023-09-11 22:43:17 +01:00
2023-10-06 12:34:31 +01:00
2023-09-11 01:31:37 +01:00
2023-09-11 01:31:35 +01:00
2023-09-11 01:31:37 +01:00
2023-09-11 01:31:38 +01:00
2023-09-11 01:31:39 +01:00
2023-09-11 22:43:17 +01:00
2023-09-11 01:31:41 +01:00
2023-09-11 01:31:42 +01:00
2023-09-11 01:31:42 +01:00
2023-11-30 12:12:39 +00:00
2023-09-11 01:31:43 +01:00
2023-10-30 13:20:58 +00:00
2023-09-11 01:31:45 +01:00
2023-10-23 13:30:05 +01:00
2023-09-11 01:31:46 +01:00
2023-09-11 01:32:09 +01:00
2023-09-22 19:01:40 +01:00
2023-09-11 01:32:10 +01:00
2023-09-11 01:32:11 +01:00
2023-11-30 12:02:40 +00:00
2023-08-21 14:29:23 +01:00
2021-05-18 14:05:35 +01:00
2022-02-28 12:10:27 +00:00
2023-08-21 14:29:24 +01:00
2021-11-29 12:19:59 +00:00
2023-08-21 14:29:25 +01:00
2023-09-25 14:19:38 +02:00
2023-08-21 14:29:27 +01:00
2023-08-21 14:29:28 +01:00
2023-08-21 14:29:29 +01:00
2023-09-11 01:32:12 +01:00
2023-08-16 12:58:08 +01:00
2023-08-21 14:29:30 +01:00
2023-10-09 13:14:28 +01:00
2023-08-21 14:29:32 +01:00
2023-08-21 14:29:33 +01:00
2023-08-21 14:29:34 +01:00
2023-08-21 14:29:35 +01:00
2023-08-21 14:29:36 +01:00
2023-08-21 14:29:37 +01:00
2023-08-21 14:29:38 +01:00
2023-07-11 13:41:25 +01:00
2022-02-09 13:00:45 +00:00
2022-02-09 13:00:45 +00:00
2023-08-21 14:29:39 +01:00
2023-11-27 13:44:12 +00:00
2023-07-14 20:53:00 +01:00
2023-03-11 12:34:01 +00:00
2023-07-14 20:53:00 +01:00
2023-11-13 01:26:36 +00:00
2023-03-11 12:34:01 +00:00
2023-09-07 15:49:20 -07:00
2023-03-06 21:18:18 +00:00
2023-03-11 12:34:01 +00:00
2023-07-26 16:30:19 +01:00
2023-09-11 01:32:20 +01:00
2023-08-15 19:55:00 +01:00
2023-07-14 20:53:00 +01:00
2023-11-30 12:12:39 +00:00
2022-02-09 13:00:45 +00:00
2023-03-11 12:34:01 +00:00
2023-03-06 21:18:24 +00:00
2023-11-30 12:12:39 +00:00
2023-07-11 14:14:31 +01:00
2023-03-28 14:49:37 +01:00
2023-03-11 12:34:01 +00:00
2023-07-11 13:41:20 +01:00
2023-08-07 14:38:39 +01:00
2023-09-19 13:17:52 +01:00
2023-11-30 12:02:39 +00:00
2023-10-06 15:44:47 +01:00