Re: [PATCH] input: wrong irq requested in edt-ft5x06.c
From: Stefano Babic <hidden>
Date: 2012-09-20 08:57:03
From: Stefano Babic <hidden>
Date: 2012-09-20 08:57:03
On 20/09/2012 10:31, Simon Budig wrote:
On 09/20/2012 10:18 AM, Stefano Babic wrote:quoted
But they contain the same information, as the irq number can be get easy from irq_pin with gpio_to_irq(). Having both, it is possible to set them to different values, and this is wrong.gpio_to_irq is not available on all platforms. There was a discussion on that topic quite a while ago.
I missed this issue, thanks !
Moving the irq setup code to the board file was the conclusion from that discussion.
Understood, thanks. Regards, Stefano -- ===================================================================== DENX Software Engineering GmbH, MD: Wolfgang Denk & Detlev Zundel HRB 165235 Munich, Office: Kirchenstr.5, D-82194 Groebenzell, Germany Phone: +49-8142-66989-53 Fax: +49-8142-66989-80 Email: sbabic@denx.de =====================================================================