Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 175173
b: refs/heads/master
c: 05d4252
h: refs/heads/master
i:
  175171: 1278cd8
v: v3
  • Loading branch information
Pavel Machek authored and Greg Kroah-Hartman committed Dec 11, 2009
1 parent acce636 commit a226740
Show file tree
Hide file tree
Showing 2 changed files with 7 additions and 1 deletion.
2 changes: 1 addition & 1 deletion [refs]
Original file line number Diff line number Diff line change
@@ -1,2 +1,2 @@
---
refs/heads/master: b7fa31849c237b0bbcc03cd65536f0060ee6117d
refs/heads/master: 05d42522017df477f16c0ebc2d65aa8bde6e0e86
6 changes: 6 additions & 0 deletions trunk/drivers/staging/dream/synaptics_i2c_rmi.c
Original file line number Diff line number Diff line change
Expand Up @@ -379,6 +379,12 @@ static int __devinit synaptics_ts_probe(
goto err_check_functionality_failed;
}

if (!i2c_check_functionality(client->adapter, I2C_FUNC_SMBUS_WORD_DATA)) {
pr_err("synaptics_ts_probe: need I2C_FUNC_SMBUS_WORD_DATA\n");
ret = -ENODEV;
goto err_check_functionality_failed;
}

ts = kzalloc(sizeof(*ts), GFP_KERNEL);
if (ts == NULL) {
ret = -ENOMEM;
Expand Down

0 comments on commit a226740

Please sign in to comment.