From: "John W. Linville" <linville@tuxdriver.com>
To: Andreas Fenkart <afenkart@gmail.com>
Cc: linux-wireless@vger.kernel.org, bzhao@marvell.com, daniel@zonque.org
Subject: Re: [PATCH] mwifiex: card reset: enable rescan of non-removable card
Date: Fri, 18 Jul 2014 13:59:15 -0400 [thread overview]
Message-ID: <20140718175915.GG31114@tuxdriver.com> (raw)
In-Reply-To: <1405670437-18723-1-git-send-email-afenkart@gmail.com>
On Fri, Jul 18, 2014 at 10:00:37AM +0200, Andreas Fenkart wrote:
> mmc_rescan will scan for non-removable cards only once, hence the card
> will not be rediscovered.
>
> Signed-off-by: Andreas Fenkart <afenkart@gmail.com>
> ---
> drivers/net/wireless/mwifiex/sdio.c | 1 +
> 1 file changed, 1 insertion(+)
>
> diff --git a/drivers/net/wireless/mwifiex/sdio.c b/drivers/net/wireless/mwifiex/sdio.c
> index 4ce3d7b..eff3d6e 100644
> --- a/drivers/net/wireless/mwifiex/sdio.c
> +++ b/drivers/net/wireless/mwifiex/sdio.c
> @@ -1931,6 +1931,7 @@ static void sdio_card_reset_worker(struct work_struct *work)
> mmc_remove_host(target);
> /* 20ms delay is based on experiment with sdhci controller */
> mdelay(20);
> + reset_host->rescan_entered = 0; /* rescan non-removable cards */
> mmc_add_host(target);
> }
> static DECLARE_WORK(card_reset_work, sdio_card_reset_worker);
Building wireless-next:
CC drivers/net/wireless/mwifiex/sdio.o
drivers/net/wireless/mwifiex/sdio.c: In function ‘mwifiex_sdio_card_reset_work’:
drivers/net/wireless/mwifiex/sdio.c:1957:2: error: ‘reset_host’ undeclared (first use in this function)
reset_host->rescan_entered = 0; /* rescan non-removable cards */
^
drivers/net/wireless/mwifiex/sdio.c:1957:2: note: each undeclared identifier is reported only once for each function it appears in
--
John W. Linville Someday the world will need a hero, and you
linville@tuxdriver.com might be all we have. Be ready.
next prev parent reply other threads:[~2014-07-18 18:00 UTC|newest]
Thread overview: 8+ messages / expand[flat|nested] mbox.gz Atom feed top
2014-07-18 8:00 [PATCH] mwifiex: card reset: enable rescan of non-removable card Andreas Fenkart
2014-07-18 8:12 ` James Cameron
2014-07-18 17:59 ` John W. Linville [this message]
2014-07-18 19:07 ` Bing Zhao
2014-07-21 7:56 ` Andreas Fenkart
2014-07-21 8:01 ` [PATCH v2 0/1] " Andreas Fenkart
2014-07-21 8:01 ` [PATCH v2 1/1] " Andreas Fenkart
2014-07-22 3:30 ` Bing Zhao
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=20140718175915.GG31114@tuxdriver.com \
--to=linville@tuxdriver.com \
--cc=afenkart@gmail.com \
--cc=bzhao@marvell.com \
--cc=daniel@zonque.org \
--cc=linux-wireless@vger.kernel.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.