Re: [PATCH v3 2/2] mwifiex: pcie: add card_reset() support

2017-05-01 Thread Dmitry Torokhov
On Mon, May 01, 2017 at 12:37:00PM -0700, Brian Norris wrote: > Similar to the SDIO driver, we should implement this so that we will > automatically reset the device whenever there's a command timeout or > similar. > > Signed-off-by: Brian Norris Reviewed-by: Dmitry Torokhov > --- > v3: keep a

[PATCH v3 2/2] mwifiex: pcie: add card_reset() support

2017-05-01 Thread Brian Norris
Similar to the SDIO driver, we should implement this so that we will automatically reset the device whenever there's a command timeout or similar. Signed-off-by: Brian Norris --- v3: keep all the new reset code in patch 2, not patch 1 v2: use atomic test/set, based on Dmitry's suggestion --- dr