PCI: designware: Fix iATU programming for cfg1, io and mem viewport
authorMohit Kumar <mohit.kumar@st.com>
Wed, 16 Apr 2014 16:23:34 +0000 (10:23 -0600)
committerBjorn Helgaas <bhelgaas@google.com>
Wed, 16 Apr 2014 16:23:34 +0000 (10:23 -0600)
commit017fcdc30cdae18c0946eef1ece1f14b4c7897ba
treeca6ae0e87b02aa94128a60da5450a9513640b2fe
parentc23fdc7da4853c25509255419bf88ed94cd42a5b
PCI: designware: Fix iATU programming for cfg1, io and mem viewport

This patch corrects iATU programming for cfg1, io and mem viewport.  Enable
ATU only after configuring it.

Signed-off-by: Mohit Kumar <mohit.kumar@st.com>
Signed-off-by: Ajay Khandelwal <ajay.khandelwal@st.com>
Signed-off-by: Bjorn Helgaas <bhelgaas@google.com>
Acked-by: Jingoo Han <jg1.han@samsung.com>
Cc: stable@vger.kernel.org
drivers/pci/host/pcie-designware.c