mirror of
https://github.com/followmsi/android_kernel_google_msm.git
synced 2024-09-22 12:42:50 +00:00
[MIPS] iounmap if in vr41xx_pciu_init() pci clock is over 33MHz
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>
This commit is contained in:
parent
a8401fa57f
commit
bb856c5b49
1 changed files with 1 additions and 0 deletions
|
@ -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;
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in a new issue