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

Skip to content
Commit 89dd5c99 authored by Jeff Hugo's avatar Jeff Hugo
Browse files

msm: smp2p_gpio: Directly manage irq allocation and mapping



Smp2p_gpio expects to obtain a contiguous set of virtual irq identifiers
to map to the bits of an smp2p entry as virtual gpio lines but does not
require a specific set of irq numbers - any sufficently large set of
contiguous virtual irq identifiers will do.  None of the irq allocate and
map helper functions meet this usecase.  As a result, smp2p_gpio is
required to manage its own allocation and mapping of irqs to gpios.

Directly manage irq allocation and mapping using the raw allocate and map
API instead of incorrectly using the helper functions.

Change-Id: I7ed092af74c393dd00aee81b3fc770c0365d8413
Signed-off-by: default avatarJeffrey Hugo <jhugo@codeaurora.org>
parent 9c8204ef
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