diff options
author | dipen <dpatel@marvell.com> | 2012-08-17 18:24:45 -0400 |
---|---|---|
committer | Lubomir Rintel <lkundrak@v3.sk> | 2019-07-22 19:40:00 +0200 |
commit | 175442277b1f5687eb5b6ee6b16279e2579da320 (patch) | |
tree | 6e97341a84a792e30e5987d015d78675913d096f | |
parent | 5c39a957c76c1730df06e76a885c3ebeef0aee44 (diff) | |
download | linux-mmp3-dell-ariel-175442277b1f5687eb5b6ee6b16279e2579da320.tar.gz |
MMP3: QSEVEN small error in touch driver regarding interrupt registration this patch will make interrupt as falling edge trigger
Signed-off-by: dipen <dpatel@marvell.com>
-rw-r--r-- | drivers/input/touchscreen/tsc2007.c | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/drivers/input/touchscreen/tsc2007.c b/drivers/input/touchscreen/tsc2007.c index fadc11545b1eed..9607c65937e966 100644 --- a/drivers/input/touchscreen/tsc2007.c +++ b/drivers/input/touchscreen/tsc2007.c @@ -304,9 +304,9 @@ static int __devinit tsc2007_probe(struct i2c_client *client, "%s/input0", dev_name(&client->dev)); input_dev->name = "TSC2007 Touchscreen"; - input_dev->phys = ts->phys; - input_dev->id.bustype = BUS_I2C; - + input_dev->phys = "tsc2007/input0"; + /*input_dev->id.bustype = BUS_I2C;*/ + input_dev->dev.parent = &client->dev; input_dev->evbit[0] = BIT_MASK(EV_KEY) | BIT_MASK(EV_ABS); input_dev->keybit[BIT_WORD(BTN_TOUCH)] = BIT_MASK(BTN_TOUCH); @@ -318,7 +318,7 @@ static int __devinit tsc2007_probe(struct i2c_client *client, if (pdata->init_platform_hw) pdata->init_platform_hw(); - err = request_irq(ts->irq, tsc2007_irq, 0, + err = request_irq(ts->irq, tsc2007_irq, IRQF_TRIGGER_FALLING, client->dev.driver->name, ts); if (err < 0) { dev_err(&client->dev, "irq %d busy?\n", ts->irq); |