CNS3xxx: Fix PCI cns3xxx_write_config()
authorKrzysztof Halasa <khalasa@piap.pl>
Fri, 11 Mar 2016 11:32:14 +0000 (12:32 +0100)
committerOlof Johansson <olof@lixom.net>
Sun, 13 Mar 2016 01:02:06 +0000 (17:02 -0800)
commit88e9da9a2a70b6f1a171fbf30a681d6bc4031c4d
tree394c01cc59e098786fc17f0d57eb622e6d1e2116
parent3cf2efd5d767ab652cfc1f94b918ddc05686500f
CNS3xxx: Fix PCI cns3xxx_write_config()

The "where" offset was added twice, fix it.

Signed-off-by: Krzysztof HaƂasa <khalasa@piap.pl>
Fixes: 498a92d42596 ("ARM: cns3xxx: pci: avoid potential stack overflow")
Signed-off-by: Olof Johansson <olof@lixom.net>
arch/arm/mach-cns3xxx/pcie.c