diff options
author | Tiago Vignatti <tiago.vignatti@nokia.com> | 2009-12-17 16:44:47 +0200 |
---|---|---|
committer | Tiago Vignatti <tiago.vignatti@nokia.com> | 2010-01-11 15:00:14 +0200 |
commit | 5a30a6017b0c8c584350a34e0538610778027e81 (patch) | |
tree | abab434a642e0ae7bc0dc7b0ccb2e09f7a0a8759 | |
parent | 7c83c6291c4820ed1e166766507e82a48d1f01b8 (diff) |
Signed-off-by: Tiago Vignatti <tiago.vignatti@nokia.com>
-rw-r--r-- | posttool.c | 9 |
1 files changed, 5 insertions, 4 deletions
@@ -125,11 +125,12 @@ int do_vga_post(struct pci_device *dev) pci_id = (dev->bus << 8) + (dev->dev << 3) + (dev->func & 0x7); error = do_real_post(pci_id); - if (error != 0) { - return error; - } - fprintf(stderr,"attempting arb + post off %d\n", pci_id); + if (error != 0) + fprintf(stderr,"POST FAILED!\n"); + pci_device_vgaarb_unlock(); + + return error; } int do_post(void) |