Loading drivers/char/diag/diagchar_core.c +2 −0 Original line number Diff line number Diff line Loading @@ -2390,6 +2390,8 @@ int diag_query_pd(char *process_name) return PERIPHERAL_CDSP; if (diag_query_pd_name(process_name, "npu/root_pd")) return PERIPHERAL_NPU; if (diag_query_pd_name(process_name, "wpss/root_pd")) return PERIPHERAL_WCNSS; if (diag_query_pd_name(process_name, "wlan_pd")) return UPD_WLAN; if (diag_query_pd_name(process_name, "audio_pd")) Loading drivers/char/diag/diagfwd_cntl.c +4 −1 Original line number Diff line number Diff line Loading @@ -886,8 +886,11 @@ static void process_diagid(uint8_t *buf, uint32_t len, diag_id++; new_request = 1; pd_val = diag_query_pd(process_name); if (pd_val < 0) if (pd_val < 0) { pr_err("diag: diagid request string: %s does not exist in the database\n", process_name); return; } diag_add_diag_id_to_list(diag_id, process_name, pd_val, peripheral); if (diagid_v2_feature_mask) { Loading Loading
drivers/char/diag/diagchar_core.c +2 −0 Original line number Diff line number Diff line Loading @@ -2390,6 +2390,8 @@ int diag_query_pd(char *process_name) return PERIPHERAL_CDSP; if (diag_query_pd_name(process_name, "npu/root_pd")) return PERIPHERAL_NPU; if (diag_query_pd_name(process_name, "wpss/root_pd")) return PERIPHERAL_WCNSS; if (diag_query_pd_name(process_name, "wlan_pd")) return UPD_WLAN; if (diag_query_pd_name(process_name, "audio_pd")) Loading
drivers/char/diag/diagfwd_cntl.c +4 −1 Original line number Diff line number Diff line Loading @@ -886,8 +886,11 @@ static void process_diagid(uint8_t *buf, uint32_t len, diag_id++; new_request = 1; pd_val = diag_query_pd(process_name); if (pd_val < 0) if (pd_val < 0) { pr_err("diag: diagid request string: %s does not exist in the database\n", process_name); return; } diag_add_diag_id_to_list(diag_id, process_name, pd_val, peripheral); if (diagid_v2_feature_mask) { Loading