From: Joe Schultz Date: Thu, 3 Apr 2014 19:48:16 +0000 (-0500) Subject: vme_tsi148: Fix PCI address mapping assumption X-Git-Tag: omap-for-v3.16/soc-signed~43^2~3 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=226572b110ab6083cb8c1d6afb191166b4178179;p=pandora-kernel.git vme_tsi148: Fix PCI address mapping assumption Previously, tsi148_master_set() assumed the address contained in its PCI bus resource represented the actual PCI bus address. This is a fine assumption on some platforms. However, on platforms that don't use a 1:1 (CPU:PCI) mapping this results in the tsi148 driver configuring an invalid master window translation. This patch updates the vme_tsi148 driver to first convert the address contained in the PCI bus resource into a PCI bus address before using it. [asierra: account for pcibios_resource_to_bus() prototype change] Signed-off-by: Joe Schultz Signed-off-by: Aaron Sierra Signed-off-by: Greg Kroah-Hartman --- Reading git-diff-tree failed