PCI: align BAR address to BAR size
PCI BARs require their address to be at least aligned to their
size, otherwise address decoding will fail as the base address
gets rounded down.

Signed-off-by: Lucas Stach <l.stach@pengutronix.de>
Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>
1 parent 18ee9aa commit 589b62ac9c4e55b6ed38afeaa3a4a4d57a77ef0e
@Lucas Stach Lucas Stach authored on 1 Nov 2016
Sascha Hauer committed on 3 Nov 2016
Showing 1 changed file
View
drivers/pci/pci.c