diff options
author | James Hogan <james@albanarts.com> | 2010-10-16 21:48:59 -0400 |
---|---|---|
committer | David S. Miller <davem@davemloft.net> | 2010-10-21 07:25:50 -0400 |
commit | afed4ccb0d975f1d3c98880ecf19a24f3d842394 (patch) | |
tree | 833c9663cc409846f17d180efa88c4098d474651 /drivers/hwmon/ams | |
parent | 31b9c19bfe32bed7fdf80cd0b1aa9d0f0569844a (diff) |
b44: fix resume, request_irq after hw reset
On resume, call request_irq() after resetting the hardware rather than
before. It's a shared interrupt so the handler could be called
immediately if another device on the same irq interrupts (and will be
called immediately if CONFIG_DEBUG_SHIRQ=y), but unless the hardware is
reinitialised with b44_init_hw() the read of the interrupt status
register will hang the system.
Signed-off-by: James Hogan <james@albanarts.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'drivers/hwmon/ams')
0 files changed, 0 insertions, 0 deletions