Re: [HP7XX/PATCH] - HP720 Jornada Touchscreen (Updated, please use this one)

From
Dmitry Torokhov <dmitry.torokhov@gmail.com>
Date
2007-09-19 20:46:52
Reply to
Kristoffer Ericson, 2007-09-20
On 9/20/07, Kristoffer Ericson [off-list ref] wrote:
+       if (jornada_ssp_inout(GETTOUCHSAMPLES == TXDUMMY)) {
Are you sure? Looks like paren is pisplaced.
quoted hunk ↗ jump to hunk
+
+       ret = request_irq(IRQ_GPIO9,
+                       jornada720_ts_interrupt,
+                       IRQF_DISABLED | IRQF_TRIGGER_RISING,
+                       "HP7XX Touchscreen driver", jornada_ts);
+       if (ret) {
+               printk(KERN_INFO "HP7XX TS : Unable to aquire irq!\n");
+               goto failed2;
+       }
+
+       if (input_register_device(input_dev))
+           goto failed2;
You will leak IRQ_GPIO9 if input_register_device fails.

Please do not forget adding Signed-off-by: to all of your patches so I
don;t have to hunt for them through old e-mails. Thanks!

-- 
Dmitry
Thread (4 messages) 4 messages, 2 authors, last reply 2007-09-20
Keyboard shortcuts
hback out one level
jnext message in thread / next series-diff position
kprevious message in thread / previous series-diff position
ldrill in
Escclose help / fold thread tree
?toggle this help