Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 250519
b: refs/heads/master
c: 3532cb0
h: refs/heads/master
i:
  250517: 1385061
  250515: f04cf09
  250511: 3f52c26
v: v3
  • Loading branch information
Michael Hennerich authored and Dmitry Torokhov committed May 17, 2011
1 parent 0db8c5a commit 369d34b
Show file tree
Hide file tree
Showing 3 changed files with 6 additions and 3 deletions.
2 changes: 1 addition & 1 deletion [refs]
Original file line number Diff line number Diff line change
@@ -1,2 +1,2 @@
---
refs/heads/master: e223cc7e96ddbcd32c4a0314d42ae56ade8008e5
refs/heads/master: 3532cb0ca2774b05e3c660f536ba3d1b38061fc9
4 changes: 3 additions & 1 deletion trunk/drivers/input/misc/ad714x.c
Original file line number Diff line number Diff line change
Expand Up @@ -1257,7 +1257,9 @@ struct ad714x_chip *ad714x_probe(struct device *dev, u16 bus_type, int irq,
}

error = request_threaded_irq(ad714x->irq, NULL, ad714x_interrupt_thread,
IRQF_TRIGGER_FALLING, "ad714x_captouch", ad714x);
plat_data->irqflags ?
plat_data->irqflags : IRQF_TRIGGER_FALLING,
"ad714x_captouch", ad714x);
if (error) {
dev_err(dev, "can't allocate irq %d\n", ad714x->irq);
goto err_unreg_dev;
Expand Down
3 changes: 2 additions & 1 deletion trunk/include/linux/input/ad714x.h
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@
* The platform_data for the device's "struct device" holds this
* information.
*
* Copyright 2009 Analog Devices Inc.
* Copyright 2009-2011 Analog Devices Inc.
*
* Licensed under the GPL-2 or later.
*/
Expand Down Expand Up @@ -58,6 +58,7 @@ struct ad714x_platform_data {
struct ad714x_button_plat *button;
unsigned short stage_cfg_reg[STAGE_NUM][STAGE_CFGREG_NUM];
unsigned short sys_cfg_reg[SYS_CFGREG_NUM];
unsigned long irqflags;
};

#endif

0 comments on commit 369d34b

Please sign in to comment.