summaryrefslogtreecommitdiff
path: root/src/southbridge/ti/pci1x2x/pci1x2x.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/southbridge/ti/pci1x2x/pci1x2x.c')
-rw-r--r--src/southbridge/ti/pci1x2x/pci1x2x.c3
1 files changed, 1 insertions, 2 deletions
diff --git a/src/southbridge/ti/pci1x2x/pci1x2x.c b/src/southbridge/ti/pci1x2x/pci1x2x.c
index f84d86680f..bfb5ab92df 100644
--- a/src/southbridge/ti/pci1x2x/pci1x2x.c
+++ b/src/southbridge/ti/pci1x2x/pci1x2x.c
@@ -46,8 +46,7 @@ static void ti_pci1x2y_set_subsystem(struct device *dev, unsigned vendor,
* to the sub-vendor/device ids at 40 and 42.
*/
pci_write_config32(dev, 0x80, pci_read_config32(dev, 0x080) & ~0x10);
- pci_write_config16(dev, 0x40, vendor);
- pci_write_config16(dev, 0x42, device);
+ pci_dev_set_subsystem(dev, vendor, device);
pci_write_config32(dev, 0x80, pci_read_config32(dev, 0x80) | 0x10);
}