summaryrefslogtreecommitdiff
path: root/drivers/char/mwave
diff options
context:
space:
mode:
authorMatthew Garrett <mjg@redhat.com>2010-05-26 21:43:48 (GMT)
committerLinus Torvalds <torvalds@linux-foundation.org>2010-05-27 16:12:49 (GMT)
commitea4078ca1a7a3a198e519c2a7a2ed6126e40b130 (patch)
tree8b53cbda0032c2eb5eac6f2c0bad563d2217bfdc /drivers/char/mwave
parent754d453185275951d39792865927ec494fa1ebd8 (diff)
downloadlinux-fsl-qoriq-ea4078ca1a7a3a198e519c2a7a2ed6126e40b130.tar.xz
ipmi: reduce polling when interrupts are available
If we're not currently in the middle of a transaction, and if we have interrupts, there's no real reason to poll the controller more frequently than the core IPMI code does. Set the interrupt_disabled flag appropriately as the interrupt state changes, and make the timeout code reset itself only if the transaction is incomplete or we have no interrupts. Signed-off-by: Matthew Garrett <mjg@redhat.com> Signed-off-by: Corey Minyard <cminyard@mvista.com> Signed-off-by: Andrew Morton <akpm@linux-foundation.org> Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
Diffstat (limited to 'drivers/char/mwave')
0 files changed, 0 insertions, 0 deletions