diff options
Diffstat (limited to 'drivers/pci/access.c')
-rw-r--r-- | drivers/pci/access.c | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/drivers/pci/access.c b/drivers/pci/access.c index 531bc697d800..0c1f20f570a4 100644 --- a/drivers/pci/access.c +++ b/drivers/pci/access.c | |||
@@ -324,6 +324,8 @@ static ssize_t pci_vpd_pci22_write(struct pci_dev *dev, loff_t pos, size_t count | |||
324 | vpd->busy = true; | 324 | vpd->busy = true; |
325 | vpd->flag = 0; | 325 | vpd->flag = 0; |
326 | ret = pci_vpd_pci22_wait(dev); | 326 | ret = pci_vpd_pci22_wait(dev); |
327 | if (ret < 0) | ||
328 | break; | ||
327 | 329 | ||
328 | pos += sizeof(u32); | 330 | pos += sizeof(u32); |
329 | } | 331 | } |