diff options
author | Dave Airlie <airlied@linux.ie> | 2006-07-05 16:20:18 +1000 |
---|---|---|
committer | Dave Airlie <airlied@linux.ie> | 2006-07-05 16:30:00 +1000 |
commit | dd03e4852c0ff9d23ca7956e92e1bede5bec2365 (patch) | |
tree | b3957f27c3ef6388b852e4260203ef313a94b659 | |
parent | 064d0612f91e3fe051484f41ebeec3d6d0fa2768 (diff) |
sil164: fix return value check
this fixes a bad return value in sil164
-rw-r--r-- | src/sil164/sil164.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/sil164/sil164.c b/src/sil164/sil164.c index 5c57082c..5e35323e 100644 --- a/src/sil164/sil164.c +++ b/src/sil164/sil164.c @@ -140,7 +140,7 @@ static void sil164Power(I2CDevPtr d, Bool On) unsigned char ch; ret = sil164ReadByte(sil, SIL164_REG8, &ch); - if (ret) + if (ret == FALSE) return; if (On) |