summaryrefslogtreecommitdiffstats
path: root/tools/perf/scripts/python/bin
diff options
context:
space:
mode:
authorFlorian Fainelli <f.fainelli@gmail.com>2023-03-24 13:38:33 -0700
committerHans Verkuil <hverkuil-cisco@xs4all.nl>2023-04-12 09:19:05 +0200
commit9c592f8ab114875fdb3b2040f01818e53de44991 (patch)
tree3d7c47794281f7c3b884517496d36cbbb872b9bf /tools/perf/scripts/python/bin
parent9fffbf9ca00f1ba05368189c8cc40881e75c57c4 (diff)
downloadlinux-9c592f8ab114875fdb3b2040f01818e53de44991.tar.gz
linux-9c592f8ab114875fdb3b2040f01818e53de44991.zip
media: rc: gpio-ir-recv: Fix support for wake-up
The driver was intended from the start to be a wake-up source for the system, however due to the absence of a suitable call to device_set_wakeup_capable(), the device_may_wakeup() call used to decide whether to enable the GPIO interrupt as a wake-up source would never happen. Lookup the DT standard "wakeup-source" property and call device_init_wakeup() to ensure the device is flagged as being wakeup capable. Reported-by: Matthew Lear <matthew.lear@broadcom.com> Fixes: fd0f6851eb46 ("[media] rc: Add support for GPIO based IR Receiver driver") Signed-off-by: Florian Fainelli <f.fainelli@gmail.com> Signed-off-by: Sean Young <sean@mess.org> Signed-off-by: Hans Verkuil <hverkuil-cisco@xs4all.nl>
Diffstat (limited to 'tools/perf/scripts/python/bin')
0 files changed, 0 insertions, 0 deletions