serial: max310x: Set IRQF_TRIGGER_FALLING flag when dev.of_node is not NULL
authorLiu Xiang <liuxiang_1999@126.com>
Wed, 7 Sep 2016 14:05:01 +0000 (22:05 +0800)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Thu, 15 Sep 2016 10:35:49 +0000 (12:35 +0200)
commitc164b008b62720fda072b55c378d32da3260f271
tree44e3427c2e50ea78744b8b776521c21918f3eb46
parent0d2665b6bcfd6b7df828582a0b8a12d29691b66d
serial: max310x: Set IRQF_TRIGGER_FALLING flag when dev.of_node is not NULL

When dev.of_node is not NULL, we also need to set IRQF_TRIGGER_FALLING
flag, otherwise it may cause uncertain interrupts.

Signed-off-by: Liu Xiang <liu.xiang6@zte.com.cn>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
drivers/tty/serial/max310x.c