[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <16de364e-bd80-4674-9125-74c33e551961@ti.com>
Date: Wed, 26 Jun 2024 14:40:16 +0300
From: "Nemanov, Michael" <michael.nemanov@...com>
To: David Lin <yu-hao.lin@....com>, <linux-wireless@...r.kernel.org>
CC: <linux-kernel@...r.kernel.org>, <briannorris@...omium.org>,
<kvalo@...nel.org>, <francesco@...cini.it>,
<tsung-hsien.hsieh@....com>
Subject: Re: [EXTERNAL] [PATCH 26/43] wifi: nxpwifi: add sdio.c
On 6/21/2024 10:51 AM, David Lin wrote:
...
> +
> +/* This function unregisters the SDIO device.
> + *
> + * The SDIO IRQ is released, the function is disabled and driver
> + * data is set to null.
> + */
> +static void
> +nxpwifi_unregister_dev(struct nxpwifi_adapter *adapter)
> +{
> + struct sdio_mmc_card *card = adapter->card;
> +
> + if (adapter->card) {
> + card->adapter = NULL;
> + sdio_claim_host(card->func);
> + sdio_disable_func(card->func);
> + sdio_release_host(card->func);
> + }
> +}
Missing call to sdio_release_irq() ?
Michael.
Powered by blists - more mailing lists