]> git.ipfire.org Git - people/ms/linux.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)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Fri, 30 Jan 2015 01:40:49 +0000 (17:40 -0800)
commitedecb42f3408f1f95bfa7ed96f6a69859ba12f4c
tree72331c597c8a9a183d1f6472c27ce856efc2ca99
parente3143069ec2bd188b6c2f958cb74eeb6a22f341f
bus: mvebu-mbus: fix support of MBus window 13

commit 38bdf45f4aa5cb6186d50a29e6cbbd9d486a1519 upstream.

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: fddddb52a6c ("bus: introduce an Marvell EBU MBus driver")
Reviewed-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
Signed-off-by: Andrew Lunn <andrew@lunn.ch>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
drivers/bus/mvebu-mbus.c