mirror of
https://github.com/BobTheBlinker/android_kernel_motorola_sm6375.git
synced 2026-10-14 16:46:15 -04:00
ATM: horizon, fix hrz_probe fail path
One fail path in hrz_probe omitted device disable. Fix it. Signed-off-by: Jiri Slaby <jirislaby@gmail.com> Signed-off-by: David S. Miller <davem@davemloft.net>
This commit is contained in:
parent
e635813514
commit
aac725cf16
1 changed files with 1 additions and 1 deletions
|
|
@ -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;
|
||||
}
|
||||
|
||||
|
|
|
|||
Loading…
Reference in a new issue