This commit fixs the label to jump to when in case
an error occurs disabling interrupts. At this point
of the code sdio_enable_func() function has been
successfully called.
Signed-off-by: Sergio Paracuellos <sergio.paracuellos@gmail.com>
Reviewed-by: Dan Carpenter <dan.carpenter@oracle.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
        /* interrupt disable */
        sdio_writeb(func, 0, INT_ENABLE, &ret);
        if (ret)
-               goto err_free_card;
+               goto err_disable_func;
+
        sdio_writeb(func, 0xff, INT_PENDING, &ret);
        if (ret)
                goto err_disable_func;