OSDN Git Service
(root)
/
sagit-ice-cold
/
kernel_xiaomi_msm8998.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
a8401fa
)
[MIPS] iounmap if in vr41xx_pciu_init() pci clock is over 33MHz
author
Roel Kluin
<12o3l@tiscali.nl>
Sun, 4 Nov 2007 12:00:06 +0000
(13:00 +0100)
committer
Ralf Baechle
<ralf@linux-mips.org>
Thu, 15 Nov 2007 23:21:49 +0000
(23:21 +0000)
iounmap if pci clock is over 33MHz. Cosmetic because the iomap() in this
case is just a bit of address magic.
Signed-off-by: Roel Kluin <12o3l@tiscali.nl>
Acked-by: Yoichi Yuasa <yoichi_yuasa@tripeaks.co.jp>
Signed-off-by: Ralf Baechle <ralf@linux-mips.org>
arch/mips/pci/pci-vr41xx.c
patch
|
blob
|
history
diff --git
a/arch/mips/pci/pci-vr41xx.c
b/arch/mips/pci/pci-vr41xx.c
index
240df9e
..
33c4f68
100644
(file)
--- a/
arch/mips/pci/pci-vr41xx.c
+++ b/
arch/mips/pci/pci-vr41xx.c
@@
-154,6
+154,7
@@
static int __init vr41xx_pciu_init(void)
pciu_write(PCICLKSELREG, QUARTER_VTCLOCK);
else {
printk(KERN_ERR "PCI Clock is over 33MHz.\n");
+ iounmap(pciu_base);
return -EINVAL;
}