]> git.baikalelectronics.ru Git - kernel.git/commit
bus: mvebu-mbus: fix support of MBus window 13
authorAndrew Lunn <andrew@lunn.ch>
Sun, 18 Jan 2015 15:46:10 +0000 (09:46 -0600)
committerAndrew Lunn <andrew@lunn.ch>
Mon, 19 Jan 2015 21:40:53 +0000 (15:40 -0600)
commite38e287379d5f1fc292be74f9e5ea73b1d44317c
treea395aee611aedffb8de17a9451f0d9f570664b31
parent153ee4259d8fa9db6d5946d67424eaec32c75022
bus: mvebu-mbus: fix support of MBus window 13

On Armada XP, 375 and 38x the MBus window 13 has the remap capability,
like windows 0 to 7. However, the mvebu-mbus driver isn't currently
taking into account this special case, which means that when window 13
is actually used, the remap registers are left to 0, making the device
using this MBus window unavailable.

As a minimal fix for stable, don't use window 13. A full fix will
follow later.

Fixes: 044f2d71465 ("bus: introduce an Marvell EBU MBus driver")
Cc: <stable@vger.kernel.org> # v3.10+
Reviewed-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
Signed-off-by: Andrew Lunn <andrew@lunn.ch>
drivers/bus/mvebu-mbus.c