Message ID | 1461135285-17582-2-git-send-email-dirk.behme@de.bosch.com (mailing list archive) |
---|---|
State | New, archived |
Headers | show |
diff --git a/drivers/input/touchscreen/zforce_ts.c b/drivers/input/touchscreen/zforce_ts.c index 0c08220..ddfc120 100644 --- a/drivers/input/touchscreen/zforce_ts.c +++ b/drivers/input/touchscreen/zforce_ts.c @@ -690,6 +690,10 @@ static int zforce_input_open(struct input_dev *dev) struct zforce_ts *ts = input_get_drvdata(dev); int ret; + /* if not probed try again later */ + if (ts->state == ZF_STATE_UNINITIALZED) + return -EAGAIN; + ret = zforce_start(ts); if (ret) return ret;