Add missing ~. We want all the INVALID bits to be 0... Let's see if this
helps people with their interrupt storm problem on card eject.
This commit is contained in:
parent
47e065b48f
commit
ebcd52935b
@ -662,7 +662,7 @@ cbb_intr(void *arg)
|
||||
* we got garbage.
|
||||
*/
|
||||
sockevent = cbb_get(sc, CBB_SOCKET_EVENT);
|
||||
if (sockevent != 0 && (sockevent & CBB_SOCKET_EVENT_VALID_MASK) == 0) {
|
||||
if (sockevent != 0 && (sockevent & ~CBB_SOCKET_EVENT_VALID_MASK) == 0) {
|
||||
/* ack the interrupt */
|
||||
cbb_set(sc, CBB_SOCKET_EVENT, sockevent);
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user