diff options
-rw-r--r-- | drivers/modem/shrm/shrm_protocol.c | 7 |
1 files changed, 7 insertions, 0 deletions
diff --git a/drivers/modem/shrm/shrm_protocol.c b/drivers/modem/shrm/shrm_protocol.c index d9187e36c68..d6d9e605b5c 100644 --- a/drivers/modem/shrm/shrm_protocol.c +++ b/drivers/modem/shrm/shrm_protocol.c @@ -92,6 +92,13 @@ void shm_print_dbg_info_work(struct kthread_work *work) void shm_mod_reset_req_work(struct kthread_work *work) { + unsigned long flags; + + /* update the boot_state */ + spin_lock_irqsave(&boot_lock, flags); + boot_state = BOOT_UNKNOWN; + wmb(); + spin_unlock_irqrestore(&boot_lock, flags); prcmu_modem_reset(); } |