Skip to content

Commit 227caae

Browse files
brilliantsonglinusw
authored andcommitted
gpio: mpc8xxx: ls1088a/ls1028a edge detection mode bug fixs.
On these boards, the irq_set_type must point one valid function pointer that can correctly set both edge and falling edge. Signed-off-by: Song Hui <[email protected]> Link: https://lore.kernel.org/r/[email protected] Signed-off-by: Linus Walleij <[email protected]>
1 parent e36eaf9 commit 227caae

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

drivers/gpio/gpio-mpc8xxx.c

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -296,6 +296,7 @@ static const struct mpc8xxx_gpio_devtype mpc512x_gpio_devtype = {
296296

297297
static const struct mpc8xxx_gpio_devtype ls1028a_gpio_devtype = {
298298
.gpio_dir_in_init = ls1028a_gpio_dir_in_init,
299+
.irq_set_type = mpc8xxx_irq_set_type,
299300
};
300301

301302
static const struct mpc8xxx_gpio_devtype mpc5125_gpio_devtype = {

0 commit comments

Comments
 (0)