Re: [PATCH v2 8/9] staging: ks7010: factor out firmware copy process into ks7010_copy_firmware

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



On Tue, Apr 03, 2018 at 12:40:24PM +0200, Sergio Paracuellos wrote:
> +static int ks7010_upload_firmware(struct ks_sdio_card *card)
> +{
> +	struct ks_wlan_private *priv = card->priv;
> +	unsigned int n;
> +	int ret;
> +	const struct firmware *fw_entry = NULL;
> +
> +	sdio_claim_host(card->func);
> +
> +	if (ks7010_is_firmware_running(priv, &ret)) {
> +		netdev_dbg(priv->net_dev, "MAC firmware running ...\n");
> +		goto release_host;
> +	}

This can't be applied without patch 7 and the error code is wrong on
this path.

regards,
dan carpenter

_______________________________________________
devel mailing list
devel@xxxxxxxxxxxxxxxxxxxxxx
http://driverdev.linuxdriverproject.org/mailman/listinfo/driverdev-devel



[Index of Archives]     [Linux Driver Backports]     [DMA Engine]     [Linux GPIO]     [Linux SPI]     [Video for Linux]     [Linux USB Devel]     [Linux Coverity]     [Linux Audio Users]     [Linux Kernel]     [Linux SCSI]     [Yosemite Backpacking]
  Powered by Linux