diff options
author | Grazvydas Ignotas <notasas@gmail.com> | 2012-05-18 03:04:08 +0300 |
---|---|---|
committer | John W. Linville <linville@tuxdriver.com> | 2012-05-25 11:16:16 -0400 |
commit | f380f2c4a12e913356bd49f8790ec1063c4fe9f8 (patch) | |
tree | a2e73c632dd3e892d7997d6c4287e3eee60ca3e9 /drivers/nfc | |
parent | 75813bde1f671aaab3185a9438da7730d356cea6 (diff) | |
download | op-kernel-dev-f380f2c4a12e913356bd49f8790ec1063c4fe9f8.zip op-kernel-dev-f380f2c4a12e913356bd49f8790ec1063c4fe9f8.tar.gz |
wl1251: fix oops on early interrupt
This driver disables interrupt just after requesting it and enables it
later, after interface is up. However currently there is a time window
between request_irq() and disable_irq() where if interrupt arrives, the
driver oopses because it's not yet ready to process it. This can be
reproduced by inserting the module, associating and removing the module
multiple times.
Eliminate this race by setting IRQF_NOAUTOEN flag before request_irq().
Cc: stable@vger.kernel.org # v2.6.37+
Signed-off-by: Grazvydas Ignotas <notasas@gmail.com>
Signed-off-by: John W. Linville <linville@tuxdriver.com>
Diffstat (limited to 'drivers/nfc')
0 files changed, 0 insertions, 0 deletions