aboutsummaryrefslogtreecommitdiff
path: root/scripts/gdb/linux/genpd.py
diff options
context:
space:
mode:
authorMaximilian Luz <[email protected]>2021-06-04 15:47:53 +0200
committerHans de Goede <[email protected]>2021-06-16 17:47:53 +0200
commite8e298a653856b1f3a2bb7b1fe31d3faa93cc7dc (patch)
treeea4efd558ad50290a932953833c9b06cdbe72d85 /scripts/gdb/linux/genpd.py
parent776c53c6a448905d8b9b161805b67f82301bfe91 (diff)
platform/surface: aggregator_cdev: Allow enabling of events from user-space
While events can already be enabled and disabled via the generic request IOCTL, this bypasses the internal reference counting mechanism of the controller. Due to that, disabling an event will turn it off regardless of any other client having requested said event, which may break functionality of that client. To solve this, add IOCTLs wrapping the ssam_controller_event_enable() and ssam_controller_event_disable() functions, which have been previously introduced for this specific purpose. Signed-off-by: Maximilian Luz <[email protected]> Reviewed-by: Hans de Goede <[email protected]> Link: https://lore.kernel.org/r/[email protected] Signed-off-by: Hans de Goede <[email protected]>
Diffstat (limited to 'scripts/gdb/linux/genpd.py')
0 files changed, 0 insertions, 0 deletions