On Jul 17, 2024 at 17:09:33 -0700, Kevin Hilman wrote: > If the wakeup-source property is used for the GPIO controller, then > mark the controller as wakeup capable. > > Further, if there are any GPIO IRQs that are marked as wakeup-enabled, > then mark the GPIO controller as wakeup enabled also. Since the GPIO > IRQs that are wake-enabled are dynamic, this is (re)calculated during > each suspend (and cleared on resume.) > > Signed-off-by: Kevin Hilman <khilman@xxxxxxxxxxxx> > --- > drivers/gpio/gpio-davinci.c | 25 +++++++++++++++++++++++++ > 1 file changed, 25 insertions(+) > > diff --git a/drivers/gpio/gpio-davinci.c b/drivers/gpio/gpio-davinci.c > index 1d0175d6350b..031aa7c30855 100644 > --- a/drivers/gpio/gpio-davinci.c > +++ b/drivers/gpio/gpio-davinci.c > @@ -7,6 +7,7 @@ > */ > > #include <linux/gpio/driver.h> > +#include <linux/gpio/consumer.h> Please sort this... [...] With that taken care, Reviewed-by: Dhruva Gole <d-gole@xxxxxx> -- Best regards, Dhruva