diff options
author | codeworkx <codeworkx@cyanogenmod.com> | 2012-09-22 09:48:20 +0200 |
---|---|---|
committer | codeworkx <codeworkx@cyanogenmod.com> | 2012-09-22 14:02:16 +0200 |
commit | 2489007e7d740ccbc3e0a202914e243ad5178787 (patch) | |
tree | b8e6380ea7b1da63474ad68a5dba997e01146043 /drivers/svnet | |
parent | 5f67568eb31e3a813c7c52461dcf66ade15fc2e7 (diff) | |
download | kernel_samsung_smdk4412-2489007e7d740ccbc3e0a202914e243ad5178787.zip kernel_samsung_smdk4412-2489007e7d740ccbc3e0a202914e243ad5178787.tar.gz kernel_samsung_smdk4412-2489007e7d740ccbc3e0a202914e243ad5178787.tar.bz2 |
merge opensource jb u5
Change-Id: I1aaec157aa196f3448eff8636134fce89a814cf2
Diffstat (limited to 'drivers/svnet')
-rw-r--r-- | drivers/svnet/modemctl.c | 9 |
1 files changed, 9 insertions, 0 deletions
diff --git a/drivers/svnet/modemctl.c b/drivers/svnet/modemctl.c index e6ce63d..51a332b 100644 --- a/drivers/svnet/modemctl.c +++ b/drivers/svnet/modemctl.c @@ -515,6 +515,15 @@ static void mc_work(struct work_struct *work_arg) dev_dbg(mc->dev, "PHONE ACTIVE: %d CP_DUMP_INT: %d\n", error, cpdump_int); + if ((!error) && cpdump_int) { + dev_err(mc->dev, "CP abnormal dead\n"); + dev_err(mc->dev, "(%d) send uevent to RIL [cpdump_int:%d]\n", + __LINE__, cpdump_int); + envs[0] = "MAILBOX=cp_reset"; + kobject_uevent_env(&mc->dev->kobj, KOBJ_OFFLINE, envs); + sprd_boot_complete = 0; + return; + } envs[0] = cpdump_int ? "MAILBOX=cp_exit" : "MAILBOX=cp_reset"; if (error && gpio_get_value(global_mc->gpio_phone_on)) { |