]> git.hungrycats.org Git - linux/commit
Silently Ignore if the device is already active/disabled
authorAdam Belay <ambx1@neo.rr.com>
Tue, 25 Mar 2003 21:34:45 +0000 (21:34 +0000)
committerAdam Belay <ambx1@neo.rr.com>
Tue, 25 Mar 2003 21:34:45 +0000 (21:34 +0000)
commitf1ff14d826ba75b9161e209196b6b331178e2ee4
tree9cb74c48753e4e884930bf407b39b36130bb16d8
parent743e83a4cb7857df25157f351d81d389bbf1187c
Silently Ignore if the device is already active/disabled

Some drivers will try to activate a device even though it is already
active.  Instead of returning an error, the resource manager will now
just ignore this.  This should solve some of the recently seen problems.
Also it doesn't make sense to return an error if the device is already
in the correct state.
drivers/pnp/manager.c