Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit 7edaca92 authored by Linux Build Service Account's avatar Linux Build Service Account Committed by Gerrit - the friendly Code Review server
Browse files

Merge "diag: Support buffering mode for non-diag_id peripherals"

parents 329b7b4c a5464d3b
Loading
Loading
Loading
Loading
+12 −0
Original line number Diff line number Diff line
@@ -1119,6 +1119,18 @@ void diag_map_pd_to_diagid(uint8_t pd, uint8_t *diag_id, int *peripheral)
		*diag_id = DIAG_ID_LPASS;
		*peripheral = PERIPHERAL_LPASS;
		break;
	case PERIPHERAL_WCNSS:
		*diag_id = 0;
		*peripheral = PERIPHERAL_WCNSS;
		break;
	case PERIPHERAL_SENSORS:
		*diag_id = 0;
		*peripheral = PERIPHERAL_SENSORS;
		break;
	case PERIPHERAL_WDSP:
		*diag_id = 0;
		*peripheral = PERIPHERAL_WDSP;
		break;
	case PERIPHERAL_CDSP:
		*diag_id = DIAG_ID_CDSP;
		*peripheral = PERIPHERAL_CDSP;