Skip to content
Commit 7b6bc2c4 authored by Nicola Mazzucato's avatar Nicola Mazzucato Committed by jimqui01
Browse files

fwk/notification: Allow use of provided source_id for notify



Currently, when a notification is sent, the source identifier
of such notification is set up by the framework to the entity
of the target for the event being processed.

With this change, the framework does not overwrite anymore
the source identifier of the notification event if the provided
source identifier is a valid entity identifier.

This change allows the use case where a module processing the
current event calls another module API and the called entity
needs to send a notification. In this scenario the called module
can simply provide a valid source_id for the outgoing notification
event.

Change-Id: I9d696b46ad656374387e97cfce6dba95a41fd182
Signed-off-by: Nicola Mazzucato's avatarNicola Mazzucato <nicola.mazzucato@arm.com>
parent efd608f5
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment