Re: [PATCH v3 4/5] mwifiex: wait firmware dump complete during card remove process

2017-01-03 Thread Brian Norris
Hi, On Thu, Dec 01, 2016 at 02:02:43PM +, Amitkumar Karwar wrote: > > > I could not find async version of cancel_work(). > > > > cancel_work() *is* asynchronous. It does not synchronize with the last > > event, so you won't have the deadlock. (Remember: the synchronous > > version is

RE: [PATCH v3 4/5] mwifiex: wait firmware dump complete during card remove process

2016-12-01 Thread Amitkumar Karwar
Re: [PATCH v3 4/5] mwifiex: wait firmware dump complete during > card remove process > > On Wed, Nov 30, 2016 at 12:39:11PM +, Amitkumar Karwar wrote: > > > > Ugh, yet another band-aid? You might do better to still cancel any > > > pending work, just don't do it syn

RE: [PATCH v3 4/5] mwifiex: wait firmware dump complete during card remove process

2016-11-30 Thread Amitkumar Karwar
Hi Brian, > > > > * > > > > @@ -2227,7 +2237,7 @@ static void mwifiex_recreate_adapter(struct > > > sdio_mmc_card *card) > > > > * discovered and initializes them from scratch. > > > > */ > > > > > > > > - mwifiex_sdio_remove(func); > > > > +

Re: [PATCH v3 4/5] mwifiex: wait firmware dump complete during card remove process

2016-11-28 Thread Brian Norris
; > > raja...@google.com; dmitry.torok...@gmail.com; Xinming Hu > > Subject: Re: [PATCH v3 4/5] mwifiex: wait firmware dump complete during > > card remove process > > > > On Wed, Nov 16, 2016 at 06:39:08PM +0530, Amitkumar Karwar wrote: > > > From: Xinming Hu

Re: [PATCH v3 4/5] mwifiex: wait firmware dump complete during card remove process

2016-11-21 Thread Brian Norris
Hi, On Wed, Nov 16, 2016 at 06:39:08PM +0530, Amitkumar Karwar wrote: > From: Xinming Hu > > Wait for firmware dump complete in card remove function. > For sdio interface, there are two diffenrent cases, > card reset trigger sdio_work and firmware dump trigger sdio_work. > Do

Re: [PATCH v3 4/5] mwifiex: wait firmware dump complete during card remove process

2016-11-16 Thread Brian Norris
On Wed, Nov 16, 2016 at 06:39:08PM +0530, Amitkumar Karwar wrote: > From: Xinming Hu > > Wait for firmware dump complete in card remove function. > For sdio interface, there are two diffenrent cases, > card reset trigger sdio_work and firmware dump trigger sdio_work. > Do code