rules: fix tests for removable state
authorMatthew Garrett <mjg59@coreos.com>
Thu, 9 Apr 2015 01:58:09 +0000 (18:58 -0700)
committerDavid Herrmann <dh.herrmann@gmail.com>
Sat, 11 Apr 2015 10:22:17 +0000 (12:22 +0200)
commit64713f92528e8443b7ff2ce3ec0394920a751fb1
treee980d9096672d54e55771cce842a6c4532311753
parent3dd26f3e3aa7fa0696d304e14551362133dd281f
rules: fix tests for removable state

We only care about whether our direct parent is removable, not whether any
further points up the tree are - the kernel will take care of policy for
those itself. This enables autosuspend on devices where the root hub reports
that its removable state is unknown.
rules/42-usb-hid-pm.rules