Sergey Shtylyov
4bbae57c7b
ata: libahci_platform: fix IRQ check
...
[ Upstream commit b30d0040f06159de97ad9c0b1536f47250719d7d ]
Iff platform_get_irq() returns 0, ahci_platform_init_host() would return 0
early (as if the call was successful). Override IRQ0 with -EINVAL instead
as the 'libata' regards 0 as "no IRQ" (thus polling) anyway...
Fixes: c034640a32f8 ("ata: libahci: properly propagate return value of platform_get_irq()")
Signed-off-by: Sergey Shtylyov <s.shtylyov@omprussia.ru>
Link: https://lore.kernel.org/r/4448c8cc-331f-2915-0e17-38ea34e251c8@omprussia.ru
Signed-off-by: Jens Axboe <axboe@kernel.dk>
Signed-off-by: Sasha Levin <sashal@kernel.org>
2021-05-14 09:44:24 +02:00
..
2020-10-01 13:18:26 +02:00
2021-03-04 10:26:23 +01:00
2019-05-30 11:29:52 -07:00
2019-05-24 17:27:12 +02:00
2019-05-24 17:27:12 +02:00
2019-05-30 11:29:52 -07:00
2019-05-30 11:26:41 -07:00
2020-11-01 12:01:05 +01:00
2017-03-06 15:40:59 -05:00
2019-05-24 17:27:12 +02:00
2019-05-24 17:27:12 +02:00
2019-06-19 17:09:07 +02:00
2019-06-19 17:09:55 +02:00
2019-07-05 10:17:18 -06:00
2019-06-05 17:36:37 +02:00
2019-05-21 11:28:45 +02:00
2021-05-11 14:04:10 +02:00
2021-05-11 14:04:10 +02:00
2019-05-21 11:28:46 +02:00
2019-02-08 06:32:01 -07:00
2021-05-14 09:44:24 +02:00
2021-05-11 14:04:10 +02:00
2019-05-21 10:50:45 +02:00
2020-10-01 13:18:26 +02:00
2019-06-25 09:22:45 -06:00
2020-04-17 10:50:22 +02:00
2020-09-09 19:12:34 +02:00
2020-10-01 13:18:26 +02:00
2019-05-21 11:28:46 +02:00
2019-05-30 11:29:53 -07:00
2017-11-02 11:10:55 +01:00
2019-07-29 16:00:14 -06:00
2019-05-21 11:28:46 +02:00
2019-02-08 06:32:01 -07:00
2019-05-21 10:50:45 +02:00
2018-01-11 17:23:23 -06:00
2019-05-21 10:50:45 +02:00
2021-05-14 09:44:24 +02:00
2019-05-21 10:50:45 +02:00
2019-05-21 10:50:45 +02:00
2019-08-26 13:58:59 -06:00
2018-03-01 13:59:03 -08:00
2019-08-23 06:58:50 -06:00
2019-05-21 10:50:45 +02:00
2019-05-21 10:50:45 +02:00
2019-08-26 13:58:59 -06:00
2019-06-05 17:37:06 +02:00
2019-06-05 17:37:06 +02:00
2019-06-05 17:37:06 +02:00
2019-05-21 10:50:45 +02:00
2019-05-21 10:50:45 +02:00
2019-05-21 10:50:45 +02:00
2018-03-01 13:58:17 -08:00
2019-05-21 10:50:45 +02:00
2018-03-19 07:41:36 -07:00
2019-05-21 10:50:45 +02:00
2019-08-26 13:58:59 -06:00
2019-05-21 10:50:45 +02:00
2019-05-21 10:50:45 +02:00
2019-05-21 10:50:45 +02:00
2018-08-24 13:20:33 -07:00
2019-05-21 10:50:45 +02:00
2018-02-18 05:26:07 -08:00
2019-05-21 10:50:45 +02:00
2021-05-14 09:44:24 +02:00
2019-05-21 10:50:45 +02:00
2019-05-21 11:28:46 +02:00
2020-10-01 13:18:26 +02:00
2019-05-21 10:50:45 +02:00
2018-02-18 05:23:25 -08:00
2019-05-21 10:50:45 +02:00
2019-05-21 10:50:45 +02:00
2019-08-26 13:58:59 -06:00
2019-05-21 11:28:46 +02:00
2019-05-21 10:50:45 +02:00
2017-08-28 10:44:24 -07:00
2019-06-19 17:09:55 +02:00
2019-05-21 10:50:45 +02:00
2019-05-21 10:50:45 +02:00
2019-05-21 10:50:45 +02:00
2019-06-19 17:09:55 +02:00
2019-05-21 11:28:46 +02:00
2019-05-21 10:50:45 +02:00
2019-08-26 13:58:59 -06:00
2019-02-08 06:42:55 -07:00
2020-10-01 13:18:26 +02:00
2019-05-21 10:50:45 +02:00
2019-08-06 07:44:59 -06:00
2019-05-21 11:28:46 +02:00
2019-05-21 10:50:45 +02:00
2019-06-19 17:09:55 +02:00
2019-06-05 17:37:06 +02:00
2019-06-05 17:37:00 +02:00
2019-05-21 10:50:45 +02:00
2019-08-26 13:58:59 -06:00
2019-05-21 10:50:45 +02:00
2019-05-21 10:50:45 +02:00
2019-06-05 17:37:06 +02:00
2019-05-21 10:50:45 +02:00
2020-10-01 13:18:26 +02:00
2019-05-30 11:26:32 -07:00
2020-10-01 13:18:26 +02:00
2019-05-21 10:50:45 +02:00
2017-11-02 11:10:55 +01:00
2019-05-30 11:29:52 -07:00
2020-10-01 13:18:26 +02:00
2021-05-14 09:44:24 +02:00
2020-11-05 11:43:12 +01:00
2020-10-01 13:18:26 +02:00
2019-05-21 11:28:46 +02:00
2020-10-01 13:18:26 +02:00
2020-11-01 12:01:06 +01:00
2020-10-01 13:18:26 +02:00
2020-10-01 13:18:26 +02:00
2019-05-21 11:28:46 +02:00
2019-08-26 13:58:59 -06:00
2020-10-01 13:18:26 +02:00
2019-05-21 11:28:46 +02:00
2019-08-26 13:58:59 -06:00
2019-08-26 13:58:59 -06:00
2017-11-02 11:10:55 +01:00