]> git.baikalelectronics.ru Git - kernel.git/commit
gpio: davinci: Add the missing of-node pointer
authorKeerthy <j-keerthy@ti.com>
Thu, 28 Jan 2016 13:38:50 +0000 (19:08 +0530)
committerLinus Walleij <linus.walleij@linaro.org>
Wed, 10 Feb 2016 09:59:12 +0000 (10:59 +0100)
commit61fb4635a023c5b38f8e81c81ef8f89bb7705ed8
tree4d39446b1b5440757a068a4d0f3e90af55cdc41b
parentf60ebab70695679fc711c614683d62e7e31e7d3d
gpio: davinci: Add the missing of-node pointer

Currently the first parameter of irq_domain_add_legacy is NULL.
irq_find_host function returns NULL when we do not populate the of_node
and hence irq_of_parse_and_map call fails whenever we want to request a
gpio irq. This fixes the request_irq failures for gpio interrupts.

Signed-off-by: Keerthy <j-keerthy@ti.com>
Reviewed-by: Grygorii Strashko <grygorii.strashko@ti.com>
Signed-off-by: Linus Walleij <linus.walleij@linaro.org>
drivers/gpio/gpio-davinci.c