From: Minghuan Lian Date: Tue, 23 Sep 2014 14:28:56 +0000 (+0800) Subject: PCI: designware: Fix configuration base address when using 'reg' X-Git-Tag: omap-for-v3.19/prcm-cleanup~136^2~7^2~3 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=ec98e9ab6f2475ff57c12d069e78b90548c0f60e;p=pandora-kernel.git PCI: designware: Fix configuration base address when using 'reg' The code has calculated cfg0_base and cfg1_base when parsing 'reg' or 'ranges' property of PCI DTS node, so remove duplicate calculation. When using 'reg', resource cfg is not used, so this code computed an incorrect configuration base. Signed-off-by: Minghuan Lian Signed-off-by: Bjorn Helgaas Acked-by: Mohit KUMAR --- Reading git-diff-tree failed