summaryrefslogtreecommitdiff
path: root/include/linux
diff options
context:
space:
mode:
authorHugo Villeneuve <hvilleneuve@dimonoff.com>2022-01-18 01:57:42 +0300
committerAlexandre Belloni <alexandre.belloni@bootlin.com>2022-02-16 01:28:32 +0300
commitd4785b46345cc9564f883c94acc4c4de6bbfeea5 (patch)
tree067b5fa2889d68efb5aef3253fd628f35eb85b71 /include/linux
parent85bcb01f145dc32e7f88e6eebb3b5f96d3b56eb6 (diff)
downloadlinux-d4785b46345cc9564f883c94acc4c4de6bbfeea5.tar.xz
rtc: pcf2127: use IRQ flags obtained from device tree if available
If the interrupt pin of the PCF2127 is routed to the input of a GPIO expander using the pca953x driver, the later will only accept an IRQ of type IRQ_TYPE_EDGE_FALLING or IRQ_TYPE_EDGE_RISING, and the IRQ request will fail. Therefore, allow the IRQ type to be passed from the device tree data if available. Signed-off-by: Hugo Villeneuve <hvilleneuve@dimonoff.com> Signed-off-by: Alexandre Belloni <alexandre.belloni@bootlin.com> Link: https://lore.kernel.org/r/20220117225742.1252362-1-hugo@hugovil.com
Diffstat (limited to 'include/linux')
0 files changed, 0 insertions, 0 deletions