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

Commit a5464d3b authored by Manoj Prabhu B's avatar Manoj Prabhu B Committed by Gerrit - the friendly Code Review server
Browse files

diag: Support buffering mode for non-diag_id peripherals



The patch adds the support for buffering mode configuration
for peripherals not supporting diag_id.

CRs-Fixed: 2104591
Change-Id: I2ed34a5141a9b9042dc925c9109d22009b272484
Signed-off-by: default avatarManoj Prabhu B <bmanoj@codeaurora.org>
parent e91bfdb1
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;