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

Commit 279db351 authored by Axel Haslam's avatar Axel Haslam Committed by Steve Kondik
Browse files

Wait for IDLE state before mounting on insert



As soon as we recive the insert event we try to
mount the mmc sending a "volume mount" command.
But, the volume manager sometimes is still on
"pending" state, and the insertion mount will
fail.

This patch calls the doMount command on insert
only after the state has changed to idle.
This way, the mount will not fail, because the
state is pending.

Change-Id: I1f8f13c8e232a6b9159eeb78a9484838f1c600af
Signed-off-by: default avatarAxel Haslam <axelhaslam@ti.com>
parent a378f35b
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