summaryrefslogtreecommitdiffstats
path: root/samsung-ril.c
diff options
context:
space:
mode:
authorPaul Kocialkowski <contact@paulk.fr>2013-03-06 19:45:12 +0100
committerPaul Kocialkowski <contact@paulk.fr>2013-03-06 19:45:12 +0100
commit0d0f2ab21d3d26bc8a5d04a4b7a717763382e855 (patch)
treebb682b14cb7bb67f68b20050641626a551d3bc38 /samsung-ril.c
parent391a6e58e68759d35e27af4703d4a3f274471a7c (diff)
downloadhardware_replicant_libsamsung-ril-0d0f2ab21d3d26bc8a5d04a4b7a717763382e855.tar.gz
hardware_replicant_libsamsung-ril-0d0f2ab21d3d26bc8a5d04a4b7a717763382e855.tar.bz2
hardware_replicant_libsamsung-ril-0d0f2ab21d3d26bc8a5d04a4b7a717763382e855.zip
pwr: Wait for IPC_PWR_PHONE_PWR_UP to complete startup
Signed-off-by: Paul Kocialkowski <contact@paulk.fr>
Diffstat (limited to 'samsung-ril.c')
-rw-r--r--samsung-ril.c4
1 files changed, 4 insertions, 0 deletions
diff --git a/samsung-ril.c b/samsung-ril.c
index b10a624..f79022a 100644
--- a/samsung-ril.c
+++ b/samsung-ril.c
@@ -759,5 +759,9 @@ end:
RIL_UNLOCK();
+ // Wait for power up
+ RIL_START_LOCK();
+ RIL_START_LOCK();
+
return &ril_ops;
}