diff options
author | Ley Foon Tan <ley.foon.tan@intel.com> | 2017-02-28 10:37:16 (GMT) |
---|---|---|
committer | Greg Kroah-Hartman <gregkh@linuxfoundation.org> | 2017-03-12 05:41:47 (GMT) |
commit | 730b1b20c6cdc63f4ce32efc5a494fc9b141b854 (patch) | |
tree | be8207cbec978cd3706f6361eb876107bcc7475a /drivers/ata/sata_uli.c | |
parent | 1fb738a3dc1304250c755e5e31715137c1c44c50 (diff) | |
download | linux-730b1b20c6cdc63f4ce32efc5a494fc9b141b854.tar.xz |
PCI: altera: Fix TLP_CFG_DW0 for TLP write
commit 2a7275a3d867b228216886aae35e1f64291180b1 upstream.
eb5767122feb ("PCI: altera: Simplify TLB_CFG_DW0 usage") used
TLP_FMTTYPE_CFGRD* (instead of TLP_FMTTYPE_CFGWR*) for TLP writes, which
causes writing to configuration space to fail. Fix it by using correct
FMTTYPE for write operation.
Fixes: eb5767122feb ("PCI: altera: Simplify TLB_CFG_DW0 usage")
Signed-off-by: Ley Foon Tan <ley.foon.tan@intel.com>
Signed-off-by: Bjorn Helgaas <bhelgaas@google.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Diffstat (limited to 'drivers/ata/sata_uli.c')
0 files changed, 0 insertions, 0 deletions