PCI: rcar: Fix position of MSI enable bit
authorNobuhiro Iwamatsu <nobuhiro.iwamatsu.yj@renesas.com>
Mon, 2 Feb 2015 05:09:39 +0000 (14:09 +0900)
committerBjorn Helgaas <bhelgaas@google.com>
Tue, 24 Feb 2015 01:04:09 +0000 (19:04 -0600)
commit1fc6aa96ead7535e0fa7458881b07cbc58a9fd89
tree5f97fb9f75e22750ab681aae9c895e1f149f07f6
parentc517d838eb7d07bbe9507871fab3931deccff539
PCI: rcar: Fix position of MSI enable bit

The MSI enable is bit 31, not bit 28.  Set the correct bit to initialize
MSI.

Per Phil, "this is odd as MSI works before and after your patch. Since bit
31 just represents the value of MSICAP0[16].MSIE, I think this may just be
used for endpoints.  However, you are correct that the bit used was wrong."

Signed-off-by: Nobuhiro Iwamatsu <nobuhiro.iwamatsu.yj@renesas.com>
Signed-off-by: Bjorn Helgaas <bhelgaas@google.com>
Acked-by: Phil Edworthy <phil.edworthy@renesas.com>
Acked-by: Simon Horman <horms+renesas@verge.net.au>
drivers/pci/host/pcie-rcar.c