From 36455696602db7c7f4dcaa3a45b1b7fed15745d9 Mon Sep 17 00:00:00 2001 From: Subramanian Ananthanarayanan Date: Tue, 24 Nov 2020 12:47:32 +0530 Subject: [PATCH] msm: mhi_dev: Update num_reqs for ADB channel num_reqs feild as part of chan_attr is not updated properly, it is set to true. So there is only 1 reqs allocated for this channel. This causes the channel to run of reqs easily causing ADB to stall. Updated num_reqs to 50. Change-Id: I1d4ec246c5879dbf1e9ca38ceeec7ffd6b8feccb Signed-off-by: Subramanian Ananthanarayanan Signed-off-by: Gauri Joshi --- drivers/platform/msm/mhi_dev/mhi_uci.c | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/drivers/platform/msm/mhi_dev/mhi_uci.c b/drivers/platform/msm/mhi_dev/mhi_uci.c index 3ce9e0f93877..9275cfcfc17b 100644 --- a/drivers/platform/msm/mhi_dev/mhi_uci.c +++ b/drivers/platform/msm/mhi_dev/mhi_uci.c @@ -279,9 +279,9 @@ static const struct chan_attr uci_chan_attr_table[] = { mhi_uci_generic_client_cb, NULL, NULL, - NULL, false, - true + true, + 50 }, { MHI_CLIENT_ADB_IN, @@ -291,9 +291,9 @@ static const struct chan_attr uci_chan_attr_table[] = { mhi_uci_generic_client_cb, "android_adb", NULL, - NULL, false, - false + true, + 50 }, };