diff mbox

[U-Boot,06/10,v4] driver: net: fsl-mc: Increase MC command timeout

Message ID 1446620162-21725-7-git-send-email-prabhakar@freescale.com
State Accepted
Delegated to: York Sun
Headers show

Commit Message

Prabhakar Kushwaha Nov. 4, 2015, 6:55 a.m. UTC
dpni_create API take takes more time as comapred to existing supported
APIs of MC Flib.
So increase MC command timeout.

Signed-off-by: Prabhakar Kushwaha <prabhakar@freescale.com>
---
 Changes for v2: Sending as it is
 Changes for v3: Sending as it is
 Changes for v4: Sending as it is

 drivers/net/fsl-mc/mc_sys.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

Comments

York Sun Nov. 30, 2015, 5:06 p.m. UTC | #1
On 11/03/2015 10:55 PM, Prabhakar Kushwaha wrote:
> dpni_create API take takes more time as comapred to existing supported
> APIs of MC Flib.
> So increase MC command timeout.
> 
> Signed-off-by: Prabhakar Kushwaha <prabhakar@freescale.com>
> ---
>  Changes for v2: Sending as it is
>  Changes for v3: Sending as it is
>  Changes for v4: Sending as it is
> 
>  drivers/net/fsl-mc/mc_sys.c | 2 +-
>  1 file changed, 1 insertion(+), 1 deletion(-)
> 

Applied to fsl-qoriq master. Thanks.

York
diff mbox

Patch

diff --git a/drivers/net/fsl-mc/mc_sys.c b/drivers/net/fsl-mc/mc_sys.c
index 2136670..71e1456 100644
--- a/drivers/net/fsl-mc/mc_sys.c
+++ b/drivers/net/fsl-mc/mc_sys.c
@@ -32,7 +32,7 @@  int mc_send_command(struct fsl_mc_io *mc_io,
 		    struct mc_command *cmd)
 {
 	enum mc_cmd_status status;
-	int timeout = 6000;
+	int timeout = 12000;
 
 	mc_write_command(mc_io->mmio_regs, cmd);