From 8305c2adc8cfd5fbe18819401ec7cb117eaee9f6 Mon Sep 17 00:00:00 2001 From: Daniel Hillenbrand Date: Sat, 21 Jul 2012 22:53:57 +0200 Subject: samsung opensource update 2 --- drivers/input/touchscreen/mms_ts.c | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) (limited to 'drivers/input') diff --git a/drivers/input/touchscreen/mms_ts.c b/drivers/input/touchscreen/mms_ts.c index 3a7070d..058cc89 100644 --- a/drivers/input/touchscreen/mms_ts.c +++ b/drivers/input/touchscreen/mms_ts.c @@ -3253,6 +3253,8 @@ static int __devinit mms_ts_probe(struct i2c_client *client, info->max_y = 1280; } + i2c_set_clientdata(client, info); + info->callbacks.inform_charger = melfas_ta_cb; if (info->register_cb) info->register_cb(&info->callbacks); @@ -3260,7 +3262,6 @@ static int __devinit mms_ts_probe(struct i2c_client *client, info->pdata->power(true); msleep(100); - i2c_set_clientdata(client, info); ret = i2c_master_recv(client, buf, 1); if (ret < 0) { /* tsp connect check */ pr_err("%s: i2c fail...tsp driver unload [%d], Add[%d]\n", -- cgit v1.1