summaryrefslogtreecommitdiffstats
path: root/drivers
diff options
context:
space:
mode:
authorYouri Querry <youri.querry_1@nxp.com>2019-03-11 17:30:48 +0000
committerLi Yang <leoyang.li@nxp.com>2019-05-20 14:28:15 -0500
commitd31beda2bcea55461289ebe73fb7fe11658b1c45 (patch)
treede007a5f46ac373c0d7aa8347709bee0c4b754fc /drivers
parentc93349d8c1700a4f628758440c65404faa74b390 (diff)
downloadlinux-stable-d31beda2bcea55461289ebe73fb7fe11658b1c45.tar.gz
linux-stable-d31beda2bcea55461289ebe73fb7fe11658b1c45.tar.bz2
linux-stable-d31beda2bcea55461289ebe73fb7fe11658b1c45.zip
soc: fsl: dpio: Increase timeout for QBMan Management Commands
The timeout for QBMan Management Commands can falsely trigger on a busy system. This patch doubles the timeout to avoid the false error reports Signed-off-by: Youri Querry <youri.querry_1@nxp.com> Signed-off-by: Roy Pledge <roy.pledge@nxp.com> Signed-off-by: Li Yang <leoyang.li@nxp.com>
Diffstat (limited to 'drivers')
-rw-r--r--drivers/soc/fsl/dpio/qbman-portal.h4
1 files changed, 2 insertions, 2 deletions
diff --git a/drivers/soc/fsl/dpio/qbman-portal.h b/drivers/soc/fsl/dpio/qbman-portal.h
index fa35fc1afeaa..80e55abff16b 100644
--- a/drivers/soc/fsl/dpio/qbman-portal.h
+++ b/drivers/soc/fsl/dpio/qbman-portal.h
@@ -1,7 +1,7 @@
/* SPDX-License-Identifier: (GPL-2.0+ OR BSD-3-Clause) */
/*
* Copyright (C) 2014-2016 Freescale Semiconductor, Inc.
- * Copyright 2016 NXP
+ * Copyright 2016-2019 NXP
*
*/
#ifndef __FSL_QBMAN_PORTAL_H
@@ -428,7 +428,7 @@ static inline int qbman_swp_CDAN_set_context_enable(struct qbman_swp *s,
static inline void *qbman_swp_mc_complete(struct qbman_swp *swp, void *cmd,
u8 cmd_verb)
{
- int loopvar = 1000;
+ int loopvar = 2000;
qbman_swp_mc_submit(swp, cmd, cmd_verb);