Loading drivers/char/adsprpc.c +9 −1 Original line number Diff line number Diff line Loading @@ -3512,8 +3512,16 @@ static int fastrpc_get_service_location_notify(struct notifier_block *nb, pdr->domain_list[i].name, pdr->domain_list[i].instance_id, &spd->pdrnb, &curr_state); if (IS_ERR(spd->pdrhandle)) if (IS_ERR(spd->pdrhandle)) { pr_err("ADSPRPC: Unable to register notifier\n"); } else if (curr_state == SERVREG_NOTIF_SERVICE_STATE_UP_V01) { pr_info("ADSPRPC: STATE_UP_V01 received\n"); spd->ispdup = 1; } else if (curr_state == SERVREG_NOTIF_SERVICE_STATE_UNINIT_V01) { pr_info("ADSPRPC: STATE_UNINIT_V01 received\n"); } break; } } Loading Loading
drivers/char/adsprpc.c +9 −1 Original line number Diff line number Diff line Loading @@ -3512,8 +3512,16 @@ static int fastrpc_get_service_location_notify(struct notifier_block *nb, pdr->domain_list[i].name, pdr->domain_list[i].instance_id, &spd->pdrnb, &curr_state); if (IS_ERR(spd->pdrhandle)) if (IS_ERR(spd->pdrhandle)) { pr_err("ADSPRPC: Unable to register notifier\n"); } else if (curr_state == SERVREG_NOTIF_SERVICE_STATE_UP_V01) { pr_info("ADSPRPC: STATE_UP_V01 received\n"); spd->ispdup = 1; } else if (curr_state == SERVREG_NOTIF_SERVICE_STATE_UNINIT_V01) { pr_info("ADSPRPC: STATE_UNINIT_V01 received\n"); } break; } } Loading