aboutsummaryrefslogtreecommitdiff
path: root/scripts/rustdoc_test_builder.rs
diff options
context:
space:
mode:
authorCristian Marussi <[email protected]>2024-02-12 12:32:23 +0000
committerSudeep Holla <[email protected]>2024-02-20 06:35:55 +0000
commit8733e86a80f5a7abb7b4b6ca3f417b32c3eb68e3 (patch)
treeccfe7fc97fd5c5a0d629c75bf206fab2591abf6c /scripts/rustdoc_test_builder.rs
parent961745b2c42eb562a6b4433dc5f8fbd974ce4137 (diff)
firmware: arm_scmi: Check for notification support
When registering protocol events, use the optional .is_notify_supported callback provided by the protocol to check if that specific notification type is available for that particular resource on the running system, marking it as unsupported otherwise. Then, when a notification enable request is received, return an error if it was previously marked as unsuppported, so avoiding to send a needless notification enable command and check the returned value for failure. Signed-off-by: Cristian Marussi <[email protected]> Link: https://lore.kernel.org/r/[email protected] Signed-off-by: Sudeep Holla <[email protected]>
Diffstat (limited to 'scripts/rustdoc_test_builder.rs')
0 files changed, 0 insertions, 0 deletions