Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit d5e23615 authored by Elliot Berman's avatar Elliot Berman
Browse files

haven: dbl: Support registration before dbl probe, resource population



Currently, doorbell registration fails if a client driver attempts to
probe before the doorbell probe since data structures are not
initialized. Add an initialized flag which registration functions can
check if data structures are initialized.

Doorbell RX registration also fails if done before cap table is
populated since RX IRQ is not yet known and RX registration attempts to
register IRQ handler. IRQ registration should happen when populating the
doorbell capabilities regardless of whether a client has registered.

Change-Id: I448b291a5885683bee48b2eb34b51faba69a03bf
Signed-off-by: default avatarElliot Berman <eberman@codeaurora.org>
parent 90bc1097
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment