Pali Rohár
f1de50e1db
gpio: mpc8xxx: Fix support for IRQ_TYPE_LEVEL_LOW flow_type in mpc85xx
...
[ Upstream commit 279c12df8d ]
Commit e39d5ef678 ("powerpc/5xxx: extend mpc8xxx_gpio driver to support
mpc512x gpios") implemented support for IRQ_TYPE_LEVEL_LOW flow type in
mpc512x via falling edge type. Do same for mpc85xx which support was added
in commit 345e5c8a1c ("powerpc: Add interrupt support to mpc8xxx_gpio").
Fixes probing of lm90 hwmon driver on mpc85xx based board which use level
interrupt. Without it kernel prints error and refuse lm90 to work:
[ 15.258370] genirq: Setting trigger mode 8 for irq 49 failed (mpc8xxx_irq_set_type+0x0/0xf8)
[ 15.267168] lm90 0-004c: cannot request IRQ 49
[ 15.272708] lm90: probe of 0-004c failed with error -22
Fixes: 345e5c8a1c ("powerpc: Add interrupt support to mpc8xxx_gpio")
Signed-off-by: Pali Rohár <pali@kernel.org >
Signed-off-by: Bartosz Golaszewski <brgl@bgdev.pl >
Signed-off-by: Sasha Levin <sashal@kernel.org >
2022-09-28 11:03:57 +02:00
..
2022-09-05 10:27:44 +02:00
2022-09-15 12:04:51 +02:00
2022-08-25 11:18:18 +02:00
2022-08-25 11:18:26 +02:00
2021-11-17 09:48:45 +01:00
2022-09-15 12:04:52 +02:00
2022-09-05 10:27:43 +02:00
2022-08-25 11:17:47 +02:00
2022-08-25 11:17:35 +02:00
2022-06-29 08:58:49 +02:00
2022-09-15 12:04:51 +02:00
2022-07-07 17:36:53 +02:00
2022-07-21 20:59:24 +02:00
2021-11-17 09:48:36 +01:00
2022-08-25 11:17:48 +02:00
2022-04-15 14:18:12 +02:00
2022-07-07 17:36:49 +02:00
2022-08-25 11:18:35 +02:00
2022-09-05 10:27:45 +02:00
2022-04-27 13:50:48 +02:00
2022-06-14 18:12:00 +02:00
2022-05-12 12:23:41 +02:00
2022-09-15 12:04:49 +02:00
2022-08-25 11:17:51 +02:00
2022-09-28 11:03:57 +02:00
2022-09-20 12:27:59 +02:00
2022-04-15 14:17:58 +02:00
2022-09-20 12:27:59 +02:00
2022-01-27 09:19:41 +01:00
2022-06-22 14:11:06 +02:00
2022-09-15 12:04:52 +02:00
2022-08-25 11:18:13 +02:00
2022-08-25 11:17:47 +02:00
2022-09-15 12:04:51 +02:00
2022-09-15 12:04:55 +02:00
2022-09-20 12:27:59 +02:00
2022-08-25 11:18:15 +02:00
2022-08-25 11:18:32 +02:00
2022-01-11 15:23:33 +01:00
2022-05-09 09:03:20 +02:00
2022-08-11 12:57:53 +02:00
2022-06-14 18:11:42 +02:00
2022-09-05 10:27:44 +02:00
2022-09-05 10:27:45 +02:00
2022-04-20 09:19:34 +02:00
2022-08-25 11:17:55 +02:00
2022-08-25 11:18:04 +02:00
2022-09-15 12:04:51 +02:00
2022-08-25 11:18:19 +02:00
2022-08-25 11:17:51 +02:00
2022-09-20 12:28:00 +02:00
2022-07-21 20:59:25 +02:00
2022-08-25 11:18:26 +02:00
2022-07-07 17:36:48 +02:00
2022-09-20 12:27:59 +02:00
2022-09-28 11:03:56 +02:00
2022-08-25 11:18:00 +02:00
2022-09-15 12:04:53 +02:00
2022-08-25 11:18:31 +02:00
2022-06-14 18:11:50 +02:00
2022-09-20 12:27:59 +02:00
2022-06-14 18:11:52 +02:00
2022-09-05 10:27:39 +02:00
2022-09-20 12:28:00 +02:00
2022-07-29 17:14:10 +02:00
2022-04-15 14:18:32 +02:00
2022-06-14 18:11:51 +02:00
2022-09-15 12:04:55 +02:00
2022-08-25 11:18:02 +02:00
2022-04-27 13:50:47 +02:00
2022-08-25 11:18:04 +02:00
2022-06-14 18:11:53 +02:00
2022-08-25 11:18:10 +02:00
2022-09-15 12:04:54 +02:00
2021-11-26 10:47:17 +01:00
2022-05-18 09:47:27 +02:00
2022-09-20 12:28:00 +02:00
2022-08-25 11:17:54 +02:00
2022-08-25 11:17:32 +02:00
2022-09-15 12:04:50 +02:00
2022-04-20 09:19:36 +02:00
2022-08-25 11:18:27 +02:00
2022-08-25 11:17:22 +02:00
2022-09-15 12:04:52 +02:00
2022-09-15 12:04:51 +02:00
2022-09-20 12:28:00 +02:00
2022-08-25 11:18:36 +02:00
2022-06-14 18:12:02 +02:00
2022-09-15 12:04:54 +02:00
2022-08-25 11:18:33 +02:00
2022-07-21 20:59:24 +02:00
2022-04-15 14:18:35 +02:00
2022-08-25 11:18:06 +02:00
2022-08-25 11:18:26 +02:00