Miquel Raynal
1ca2761a77
spi: atmel: Do not cancel a transfer upon any signal
...
The intended move from wait_for_completion_*() to
wait_for_completion_interruptible_*() was to allow (very) long spi memory
transfers to be stopped upon user request instead of freezing the
machine forever as the timeout value could now be significantly bigger.
However, depending on the user logic, applications can receive many
signals for their own "internal" purpose and have nothing to do with the
requested kernel operations, hence interrupting spi transfers upon any
signal is probably not a wise choice. Instead, let's switch to
wait_for_completion_killable_*() to only catch the "important"
signals. This was likely the intended behavior anyway.
Fixes: e0205d6203c2 ("spi: atmel: Prevent false timeouts on long transfers")
Cc: stable@vger.kernel.org
Reported-by: Ronald Wahl <ronald.wahl@raritan.com>
Signed-off-by: Miquel Raynal <miquel.raynal@bootlin.com>
Link: https://lore.kernel.org/r/20231127095842.389631-1-miquel.raynal@bootlin.com
Signed-off-by: Mark Brown <broonie@kernel.org>
2023-12-01 22:19:13 +00:00
..
2023-03-17 15:47:51 +00:00
2023-11-10 11:44:38 -08: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-09-11 01:31:55 +01:00
2023-12-01 22:19:13 +00:00
2023-08-14 13:10:49 +01:00
2023-09-11 01:31:56 +01: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-08-07 14:38:20 +01: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-08-07 14:38:26 +01: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
2019-05-30 11:26:32 -07: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
2019-05-30 11:26:32 -07: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-08-14 13:11:03 +01:00
2023-09-11 20:33:30 +01:00
2022-02-14 12:53:09 +00:00
2023-08-14 13:11:04 +01: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-03-11 12:34:01 +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-10-30 13:20:58 +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-09-11 01:32:11 +01: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-07-14 20:53:00 +01: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-10-30 13:20:58 +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
2019-05-30 11:26:37 -07:00
2023-07-14 20:53:00 +01: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-07-14 20:53:00 +01: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-10 13:54:58 +00:00
2023-10-06 15:44:47 +01:00