These changes are the raw update to linux-4.4.6-rt14. Kernel sources
[kvmfornfv.git] / kernel / drivers / net / wireless / ti / wlcore / sdio.c
index ea7e07a..c172da5 100644 (file)
@@ -293,7 +293,8 @@ static int wl1271_probe(struct sdio_func *func,
        /* Use block mode for transferring over one block size of data */
        func->card->quirks |= MMC_QUIRK_BLKSZ_FOR_BYTE_MODE;
 
-       if (wlcore_probe_of(&func->dev, &irq, &pdev_data))
+       ret = wlcore_probe_of(&func->dev, &irq, &pdev_data);
+       if (ret)
                goto out_free_glue;
 
        /* if sdio can keep power while host is suspended, enable wow */