ipmi: Handle BMCs that don't allow clearing the rcv irq bit
authorCorey Minyard <cminyard@mvista.com>
Fri, 3 Apr 2015 17:13:48 +0000 (12:13 -0500)
committerCorey Minyard <cminyard@mvista.com>
Sat, 11 Apr 2015 01:51:42 +0000 (20:51 -0500)
commit1e7d6a45f6b10bc48a1453bca3d829e210546571
tree86eb47ed9056f0a99117eb991dc9ec00e47dbe6f
parent3259b12ae1c79c146809829412ddc0d11a1b8e26
ipmi: Handle BMCs that don't allow clearing the rcv irq bit

Some BMCs don't let you clear the receive irq bit in the global
enables.  This is kind of silly, but they give an error if you
try to clear it.  Compensate for this by detecting the situation
and working around it.

Signed-off-by: Corey Minyard <cminyard@mvista.com>
Tested-by: Thomas D <whissi@whissi.de>
Reviewed-by: Thomas D <whissi@whissi.de>
drivers/char/ipmi/ipmi_si_intf.c