commit | c37c6d2196fc716abac6531c4cf08ad2874d52d8 | [log] [tgz] |
---|---|---|
author | Kulikov Vasiliy <segooon@gmail.com> | Fri Aug 06 23:52:57 2010 +0400 |
committer | Greg Kroah-Hartman <gregkh@suse.de> | Tue Aug 31 14:48:10 2010 -0700 |
tree | e37b114b56ded85dd4f8c51bef0f6f7f427c1c75 | |
parent | 918e3592b9ea865ce29bda06a7200eba80d8d5f8 [diff] |
staging: cx25821: call disable_pci_device() if pci_probe() failed Driver should call disable_pci_device() if it returns from pci_probe() with error. Also it must not be called if pci_request_region() fails as it means that somebody uses device resources and rules the device. Signed-off-by: Kulikov Vasiliy <segooon@gmail.com> Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>