Skip to content

Commit

Permalink
Revert "touch_synaptics: Give i2c a little time to wakeup, fix sweep2…
Browse files Browse the repository at this point in the history
…wake"

This reverts commit 6cbb22f.
  • Loading branch information
hellsgod committed Aug 23, 2013
1 parent 021b6b3 commit 2b262ce
Showing 1 changed file with 0 additions and 8 deletions.
8 changes: 0 additions & 8 deletions drivers/input/touchscreen/touch_synaptics.c
Original file line number Diff line number Diff line change
Expand Up @@ -27,9 +27,6 @@
#include <linux/input/mt.h>
#include <linux/input/lge_touch_core.h>
#include <linux/input/touch_synaptics.h>
#ifdef CONFIG_TOUCHSCREEN_SWEEP2WAKE
#include <linux/input/sweep2wake.h>
#endif

#include "SynaImage.h"
#include <linux/regulator/machine.h>
Expand Down Expand Up @@ -183,11 +180,6 @@ int synaptics_ts_get_data(struct i2c_client *client, struct t_data* data,
if (unlikely(touch_debug_mask & DEBUG_TRACE))
TOUCH_DEBUG_MSG("\n");

#ifdef CONFIG_TOUCHSCREEN_SWEEP2WAKE
if (s2w_switch)
msleep(ts->pdata->role->reset_delay);
#endif

if (unlikely(touch_i2c_read(client, DEVICE_STATUS_REG,
sizeof(ts->ts_data.device_status_reg),
&ts->ts_data.device_status_reg) < 0)) {
Expand Down

0 comments on commit 2b262ce

Please sign in to comment.