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

Skip to content
Commit c61e9670 authored by Pradeep P V K's avatar Pradeep P V K
Browse files

mmc: host: Add support for card detect gpio sharing



On few targets (scuba), the sdcard vdd regulator is shared.
On removal of SD-Card, the MGPI feature will automatically turned off
the card vdd regulator. So, during card removal, it is always advised
to unvote the vdd regulator from all the shared clients.

Always use IRQF_SHARED flag, inorder for the other clients to register
and get card detect/removal events for the same gpio-irq.

Change-Id: Ieebd962287eabd67d2afde50280db45a9fa5c7c6
Signed-off-by: default avatarPradeep P V K <ppvk@codeaurora.org>
parent dcc90d4a
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