Re: [PATCH v2 1/2] Input: egalax_ts: get gpio from devicetree node

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Hi Hui,

在 2012-8-8,下午5:10,Hui Wang <jason77.wang@xxxxxxxxx>
 写道:

> 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 <jason77.wang@xxxxxxxxx>
Ackyed-by Zhang Jiejing <jiejing.zhang@xxxxxxxxxxxxx> 
> ---
> drivers/input/touchscreen/egalax_ts.c |   19 ++++++++++++++++---
> 1 files changed, 16 insertions(+), 3 deletions(-)


Best Regards
Jiejing



?韬{.n?????%??檩??w?{.n???{炳)楹哜?^n?■???h?璀?{?夸z罐?+€?zf"?????i?????_璁?:+v??撸?



[Index of Archives]     [Linux Media Devel]     [Linux USB Devel]     [Video for Linux]     [Linux Audio Users]     [Yosemite News]     [Linux Kernel]     [Linux SCSI]     [Linux Wireless Networking]     [Linux Omap]

  Powered by Linux