[9610] drivers: modem_if: Set pda_active to high before initalizing CP
authorJiyoung Jeong <ji_0.jeong@samsung.com>
Tue, 26 Jun 2018 12:28:08 +0000 (21:28 +0900)
committerYoungmin Nam <youngmin.nam@samsung.com>
Mon, 2 Jul 2018 08:50:45 +0000 (17:50 +0900)
Change-Id: Ifeb5df59671c0e03d7881f56f3b132ca618fd99a
Signed-off-by: Jiyoung Jeong <ji_0.jeong@samsung.com>
drivers/misc/modem_if/modem_modemctl_device_sh333ap.c

index 3cb374206e51a796a17e7bfcc305edb59bad48a0..37254683dbf8d8dd6940043b301c0c4e4268e974 100755 (executable)
@@ -340,6 +340,8 @@ static int sh333ap_on(struct modem_ctl *mc)
        spin_unlock_irqrestore(&mc->ap_status_lock, flags);
 
        spin_lock_irqsave(&mc->ap_status_lock, flags);
+       mbox_update_value(MCU_CP, mc->mbx_ap_status, 1,
+               mc->sbi_pda_active_mask, mc->sbi_pda_active_pos);
        mbox_update_value(MCU_CP, mc->mbx_ap_status, 1,
                mc->sbi_ap_status_mask, mc->sbi_ap_status_pos);
        spin_unlock_irqrestore(&mc->ap_status_lock, flags);