commit | 7095e3eb49869051594b33f6110edd65aff6be50 | [log] [tgz] |
---|---|---|
author | Jiri Slaby <jirislaby@gmail.com> | Wed Nov 04 17:11:03 2009 +0100 |
committer | Jeff Garzik <jgarzik@redhat.com> | Thu Dec 03 02:46:34 2009 -0500 |
tree | 026df9eb33d60c3a7311cee10d668d47f2627220 | |
parent | ba3a221ce2ec0b636a15e12c23c97af68b9b1114 [diff] |
pata_via: fix double put on isa bridge In via_init_one, when via_isa_bridges iterator reaches PCI_DEVICE_ID_VIA_ANON and last but one via_isa_bridges bridge is found but rev doesn't match, pci_dev_put(isa) is called twice. Do pci_dev_put only once. Signed-off-by: Jiri Slaby <jirislaby@gmail.com> Signed-off-by: Jeff Garzik <jgarzik@redhat.com>