Andy Shevchenko
832392db97
platform/x86: i2c-multi-instantiate: Fail the probe if no IRQ provided
...
For APIC case of interrupt we don't fail a ->probe() of the driver,
which makes kernel to print a lot of warnings from the children.
We have two options here:
- switch to platform_get_irq_optional(), though it won't stop children
to be probed and failed
- fail the ->probe() of i2c-multi-instantiate
Since the in reality we never had devices in the wild where IRQ resource
is optional, the latter solution suits the best.
Fixes: 799d3379a672 ("platform/x86: i2c-multi-instantiate: Introduce IOAPIC IRQ support")
Reported-by: Ammy Yi <ammy.yi@intel.com>
Cc: Heikki Krogerus <heikki.krogerus@linux.intel.com>
Cc: Hans de Goede <hdegoede@redhat.com>
Signed-off-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com>
Reviewed-by: Heikki Krogerus <heikki.krogerus@linux.intel.com>
2019-10-14 15:31:50 +03:00
..
2019-09-09 13:19:35 +03:00
2019-06-19 17:09:55 +02:00
2019-07-30 14:12:51 +03:00
2019-05-30 11:26:35 -07:00
2019-05-30 11:26:37 -07:00
2019-05-30 11:26:32 -07:00
2019-06-19 17:09:55 +02:00
2019-05-30 11:26:35 -07:00
2019-08-16 12:38:48 +03:00
2019-06-19 17:09:55 +02:00
2019-09-10 14:32:58 +03:00
2019-06-12 11:54:16 +03:00
2019-10-10 14:13:54 +03:00
2019-09-07 21:16:09 +03:00
2019-07-15 11:03:02 -03:00
2019-06-05 17:36:37 +02:00
2019-07-15 11:03:02 -03:00
2019-07-14 16:51:47 -07:00
2019-05-30 11:26:37 -07:00
2019-05-30 11:26:37 -07:00
2019-06-19 17:09:55 +02:00
2019-06-19 17:09:55 +02:00
2019-07-14 16:51:47 -07:00
2019-06-19 17:09:55 +02:00
2019-07-15 21:10:39 -07:00
2019-05-30 11:26:35 -07:00
2019-07-14 16:51:47 -07:00
2019-06-19 17:09:55 +02:00
2017-06-28 09:01:36 -07:00
2019-07-30 14:12:51 +03:00
2019-05-30 11:26:37 -07:00
2019-05-30 11:26:35 -07:00
2019-05-21 11:28:39 +02:00
2019-06-05 17:37:14 +02:00
2018-02-15 12:21:48 +02:00
2019-06-05 17:30:30 +02:00
2019-07-29 18:31:48 +03:00
2019-05-21 11:28:39 +02:00
2019-08-02 13:23:14 +02:00
2019-06-17 15:22:47 +03:00
2019-10-14 15:31:50 +03:00
2019-05-30 11:26:35 -07:00
2019-07-14 16:51:47 -07:00
2018-12-03 21:40:03 +02:00
2019-08-01 18:03:02 +03:00
2019-08-26 11:38:36 +02:00
2018-09-27 12:18:16 +03:00
2019-09-16 19:59:10 -07:00
2018-12-03 21:40:03 +02:00
2018-09-27 12:18:16 +03:00
2019-06-12 12:42:27 +03:00
2018-11-01 08:42:21 -07:00
2018-09-27 12:18:17 +03:00
2019-05-09 00:33:03 +03:00
2018-09-27 12:18:18 +03:00
2019-09-16 19:59:10 -07:00
2019-09-16 19:59:10 -07:00
2019-05-06 17:54:42 +03:00
2019-08-01 18:03:02 +03:00
2019-10-10 14:13:54 +03:00
2018-09-27 12:18:19 +03:00
2018-09-27 12:18:19 +03:00
2018-09-27 12:18:20 +03:00
2019-06-17 15:20:58 +03:00
2018-11-01 08:42:21 -07:00
2018-09-27 12:18:20 +03:00
2019-08-21 23:56:05 +02:00
2018-09-27 12:18:19 +03:00
2018-09-27 12:18:19 +03:00
2019-08-21 23:56:05 +02:00
2019-06-17 15:22:47 +03:00
2019-09-15 17:00:31 +03:00
2018-10-19 19:21:57 +03:00
2019-07-08 16:51:30 +03:00
2019-07-12 16:00:38 +03:00
2019-05-21 11:28:39 +02:00
2019-05-30 11:26:35 -07:00
2019-05-30 11:26:35 -07:00
2019-06-05 17:37:11 +02:00
2019-07-30 14:14:31 +03:00
2019-06-19 17:09:55 +02:00
2019-09-20 17:56:24 +03:00
2019-07-14 16:51:47 -07:00
2019-06-19 17:09:55 +02:00
2019-05-24 17:36:45 +02:00
2019-06-05 17:37:17 +02:00
2019-06-05 17:37:17 +02:00
2019-07-28 12:58:40 +03:00
2019-05-30 11:26:35 -07:00
2019-09-07 21:16:09 +03:00
2018-02-23 18:43:42 +02:00
2019-05-21 11:28:40 +02:00
2019-06-19 17:09:55 +02:00
2019-05-30 11:26:37 -07:00
2019-05-30 11:26:37 -07:00
2019-09-07 21:16:09 +03:00
2019-07-14 16:51:47 -07:00
2019-07-30 14:12:51 +03:00
2019-06-29 15:56:36 +03:00
2019-05-30 11:26:32 -07:00
2019-05-30 11:26:32 -07:00