Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit aac725cf authored by Jiri Slaby's avatar Jiri Slaby Committed by David S. Miller
Browse files

ATM: horizon, fix hrz_probe fail path



One fail path in hrz_probe omitted device disable. Fix it.

Signed-off-by: default avatarJiri Slaby <jirislaby@gmail.com>
Signed-off-by: default avatarDavid S. Miller <davem@davemloft.net>
parent e6358135
Loading
Loading
Loading
Loading
+1 −1
Original line number Diff line number Diff line
@@ -2705,7 +2705,7 @@ static int __devinit hrz_probe(struct pci_dev *pci_dev, const struct pci_device_

	/* XXX DEV_LABEL is a guess */
	if (!request_region(iobase, HRZ_IO_EXTENT, DEV_LABEL)) {
		return -EINVAL;
		err = -EINVAL;
		goto out_disable;
	}