Re: [PATCH v4 1/3] Input: egalax_ts: get gpio from devicetree node

From
Shawn Guo <hidden>
Date
2012-08-17 00:31:27
Also in
linux-arm-kernel, linux-input
Reply to
Hui Wang, 2012-08-16
On Thu, Aug 16, 2012 at 06:47:29PM +0800, Hui Wang wrote:
The irq_to_gpio() is old, most platforms use GENERIC_GPIO framework
and don't support this API anymore.

The i.MX6q sabrelite platform equips an egalax touchscreen controller,
and this platform already transfered to GENERIC_GPIO framework, to
support this driver, we use a more generic way to get gpio.

Add a return value checking for waking up the controller in the probe
function, this guarantee only a workable device can pass init.

Signed-off-by: Hui Wang <redacted>
Reviewed-by: Shawn Guo <redacted>
Thread (11 messages) 11 messages, 3 authors, last reply 2012-10-10
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