ARM: OMAP2: Fix up interconnect barrier initialization for DRA7
authorNishanth Menon <nm@ti.com>
Fri, 11 Mar 2016 16:12:28 +0000 (10:12 -0600)
committerTony Lindgren <tony@atomide.com>
Wed, 30 Mar 2016 21:14:20 +0000 (14:14 -0700)
commit456e8d53482537616899a146b706eccd095404e6
tree0e5ff2ab28bb5d1a102a780b8add3d6ad4c8e391
parent1809de7e7d37c585e01a1bcc583ea92b78fc759d
ARM: OMAP2: Fix up interconnect barrier initialization for DRA7

The following commits:
commit 3fa609755c11 ("ARM: omap2: restore OMAP4 barrier behaviour")
commit f746929ffdc8 ("Revert "ARM: OMAP4: remove dead kconfig option OMAP4_ERRATA_I688"")
and
commit ea827ad5ffbb ("ARM: DRA7: Provide proper IO map table")
came in around the same time, unfortunately this seem to have missed
initializing the barrier for DRA7 platforms - omap5_map_io was reused
for dra7 till it was split out by the last patch. barrier_init
needs to be hence carried forward as it is valid for DRA7 family of
processors as they are for OMAP5.

Fixes: ea827ad5ffbb7 ("ARM: DRA7: Provide proper IO map table")
Cc: stable@vger.kernel.org # v4.1+
Reported-by: Laurent Pinchart <laurent.pinchart@ideasonboard.com>
Reported-by: Tomi Valkeinen <tomi.valkeinen@ti.com>
Cc: Russell King <rmk+kernel@arm.linux.org.uk>
Signed-off-by: Nishanth Menon <nm@ti.com>
Reviewed-by: Laurent Pinchart <laurent.pinchart@ideasonboard.com>
Signed-off-by: Tony Lindgren <tony@atomide.com>
arch/arm/mach-omap2/io.c