summaryrefslogtreecommitdiff
path: root/src/tfp410
diff options
context:
space:
mode:
authorEric Anholt <eric@anholt.net>2007-10-01 14:32:28 -0700
committerEric Anholt <eric@anholt.net>2007-10-01 14:32:28 -0700
commit1b83e5e589105d05c1b78032fa47eecee478cb99 (patch)
treec3cb0c8658189002e2800d9a8a5fa36817ef82a4 /src/tfp410
parent29d3188ee9676f697f6fcb859c7f680f5df30318 (diff)
Remove more DVO probing noise.
Diffstat (limited to 'src/tfp410')
-rw-r--r--src/tfp410/tfp410.c10
1 files changed, 5 insertions, 5 deletions
diff --git a/src/tfp410/tfp410.c b/src/tfp410/tfp410.c
index bc0ad749..b79fd2a8 100644
--- a/src/tfp410/tfp410.c
+++ b/src/tfp410/tfp410.c
@@ -93,8 +93,6 @@ tfp410_init(I2CBusPtr b, I2CSlaveAddr addr)
TFP410Ptr tfp;
int id;
- xf86DrvMsg(b->scrnIndex, X_INFO, "detecting tfp410\n");
-
tfp = xcalloc(1, sizeof(TFP410Rec));
if (tfp == NULL)
return NULL;
@@ -110,9 +108,11 @@ tfp410_init(I2CBusPtr b, I2CSlaveAddr addr)
tfp->quiet = TRUE;
if ((id = tfp410GetID(tfp, TFP410_VID_LO)) != TFP410_VID) {
- xf86DrvMsg(tfp->d.pI2CBus->scrnIndex, X_ERROR,
- "tfp410 not detected got VID %X: from %s Slave %d.\n",
- id, tfp->d.pI2CBus->BusName, tfp->d.SlaveAddr);
+ if (id != 0xffffffff) {
+ xf86DrvMsg(tfp->d.pI2CBus->scrnIndex, X_ERROR,
+ "tfp410 not detected got VID %X: from %s Slave %d.\n",
+ id, tfp->d.pI2CBus->BusName, tfp->d.SlaveAddr);
+ }
goto out;
}