diff options
Diffstat (limited to 'drivers/input/touchscreen')
-rw-r--r-- | drivers/input/touchscreen/zforce_ts.c | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/drivers/input/touchscreen/zforce_ts.c b/drivers/input/touchscreen/zforce_ts.c index 75762d6ff3ba..4ffe4cc3b234 100644 --- a/drivers/input/touchscreen/zforce_ts.c +++ b/drivers/input/touchscreen/zforce_ts.c | |||
@@ -279,7 +279,8 @@ static int zforce_start(struct zforce_ts *ts) | |||
279 | goto error; | 279 | goto error; |
280 | } | 280 | } |
281 | 281 | ||
282 | if (zforce_setconfig(ts, SETCONFIG_DUALTOUCH)) { | 282 | ret = zforce_setconfig(ts, SETCONFIG_DUALTOUCH); |
283 | if (ret) { | ||
283 | dev_err(&client->dev, "Unable to set config\n"); | 284 | dev_err(&client->dev, "Unable to set config\n"); |
284 | goto error; | 285 | goto error; |
285 | } | 286 | } |