pm: ignore notify() from unknown sender
. avoids annoying error message if e.g. buggy drivers send pm notify()s that pm tries to reply() ENOSYS to
This commit is contained in:
parent
769af57274
commit
5e38c802d8
|
@ -96,7 +96,8 @@ int main()
|
||||||
result = SUSPEND; /* don't reply */
|
result = SUSPEND; /* don't reply */
|
||||||
break;
|
break;
|
||||||
default :
|
default :
|
||||||
result = ENOSYS;
|
/* ignore notify() from unknown sender */
|
||||||
|
result = SUSPEND;
|
||||||
}
|
}
|
||||||
|
|
||||||
/* done, send reply and continue */
|
/* done, send reply and continue */
|
||||||
|
|
Loading…
Reference in a new issue