]> git.baikalelectronics.ru Git - kernel.git/commit
iwlwifi: pcie: extend device reset delay
authorJohannes Berg <johannes.berg@intel.com>
Wed, 13 Apr 2016 08:24:59 +0000 (10:24 +0200)
committerLuca Coelho <luciano.coelho@intel.com>
Tue, 10 May 2016 19:34:07 +0000 (22:34 +0300)
commita789a491ac8a6ab909a63814eafc596fa7e2f9f5
tree947e01312ed774e92e3c6d03f75e19a0ce104691
parentc4890e9d84188764b2e7e9ea64250c5318a5dc6b
iwlwifi: pcie: extend device reset delay

Newer hardware generations will take longer to be accessible again
after reset, so we need to wait longer before continuing any flow
that did a reset.

Rather than make the wait time configurable, simply extend it for
all.

Since all of these code paths can sleep, use usleep_range() rather
than mdelay().

Signed-off-by: Johannes Berg <johannes.berg@intel.com>
Signed-off-by: Luca Coelho <luciano.coelho@intel.com>
drivers/net/wireless/intel/iwlwifi/pcie/trans.c