# 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 
- List: linux-input
- Page: https://ratatoskr.run/linux-input/2007/09/8908887
- Thread: https://ratatoskr.run/linux-input/2007/09/8908882/t.md

```text
On 9/20/07, Kristoffer Ericson [ref] wrote:
> +       if (jornada_ssp_inout(GETTOUCHSAMPLES == TXDUMMY)) {

Are you sure? Looks like paren is pisplaced.

> +
> +       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
```
