From d554a0c0fc7bcc87588bf8d57f77f17a5b06ca16 Mon Sep 17 00:00:00 2001 From: Manoj Prabhu B Date: Wed, 4 Mar 2020 15:14:29 +0530 Subject: [PATCH] diag: Set socket CDSP enum value same as CDSP diag macro CDSP peripheral macro value and CDSP socket enum value are not same causing invalid cleanup of diag control channel status during peripheral SSR. Set CDSP socket enum value same as peripheral CDSP macro. Change-Id: I2c82fc4a7d1bd7491560942d525ed579f39d1e60 Signed-off-by: Manoj Prabhu B --- drivers/char/diag/diagfwd_socket.h | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/drivers/char/diag/diagfwd_socket.h b/drivers/char/diag/diagfwd_socket.h index 128c2be4e9fd..af64dcd04ac1 100644 --- a/drivers/char/diag/diagfwd_socket.h +++ b/drivers/char/diag/diagfwd_socket.h @@ -1,4 +1,4 @@ -/* Copyright (c) 2015-2017, 2019, The Linux Foundation. All rights reserved. +/* Copyright (c) 2015-2017, 2019-2020, The Linux Foundation. All rights reserved. * * This program is free software; you can redistribute it and/or modify * it under the terms of the GNU General Public License version 2 and @@ -37,7 +37,7 @@ enum { SOCKET_ADSP, SOCKET_WCNSS, SOCKET_SLPI, - SOCKET_CDSP, + SOCKET_CDSP = 5, SOCKET_APPS, NUM_SOCKET_SUBSYSTEMS, };