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

Commit 7a350084 authored by Gidon Studinski's avatar Gidon Studinski
Browse files

msm: ipa3: add a dispatcher layer for IPA APIs



The dispatcher layer enables compilation of IPA 2.x and IPA 3.0
drivers, which shares the same external API, at the same time. The
dispatcher implements all of the external APIs. This implementation
calls a function pointer which is populated by each sub driver.

For example: ipa_connect() is implemented in ipa_api.c. According to the
DTS file, ipa2_connect() will be called for IPA 2.x driver, and
ipa3_connect() will be called for IPA 3.0 driver.

Change-Id: I34ca837094c8c0940f0e267fbc94746414d64d8f
Acked-by: default avatarAdy Abraham <adya@qti.qualcomm.com>
Signed-off-by: default avatarNadine Toledano <nadinet@codeaurora.org>
Signed-off-by: default avatarAmir Levy <alevy@codeaurora.org>
Signed-off-by: default avatarGidon Studinski <gidons@codeaurora.org>
parent c82c8a5b
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