]> git.sur5r.net Git - u-boot/commitdiff
driver: net: fsl-mc: Increase MC command timeout
authorPrabhakar Kushwaha <prabhakar@freescale.com>
Wed, 4 Nov 2015 06:55:57 +0000 (12:25 +0530)
committerYork Sun <yorksun@freescale.com>
Mon, 30 Nov 2015 16:53:02 +0000 (08:53 -0800)
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>
Reviewed-by: York Sun <yorksun@freescale.com>
drivers/net/fsl-mc/mc_sys.c

index 2136670370049546cd6c2f2f1e507ff8b3a52fa1..71e145649f04fc7069c0d7a45a6f3a0d26c5c501 100644 (file)
@@ -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);