From: Jiyoung Jeong Date: Tue, 26 Jun 2018 12:28:08 +0000 (+0900) Subject: [9610] drivers: modem_if: Set pda_active to high before initalizing CP X-Git-Url: https://git.stricted.de/?a=commitdiff_plain;h=4b55e44b2444b757f44c3936b8cfbfcace256aa0;p=GitHub%2FLineageOS%2Fandroid_kernel_motorola_exynos9610.git [9610] drivers: modem_if: Set pda_active to high before initalizing CP Change-Id: Ifeb5df59671c0e03d7881f56f3b132ca618fd99a Signed-off-by: Jiyoung Jeong --- diff --git a/drivers/misc/modem_if/modem_modemctl_device_sh333ap.c b/drivers/misc/modem_if/modem_modemctl_device_sh333ap.c index 3cb374206e51..37254683dbf8 100755 --- a/drivers/misc/modem_if/modem_modemctl_device_sh333ap.c +++ b/drivers/misc/modem_if/modem_modemctl_device_sh333ap.c @@ -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);