Re: [Patch v1 7/7] DA9055 Onkey driver

From
Laxman Dewangan <ldewangan@nvidia.com>
Date
2012-09-14 13:44:30
Reply to
Ashish Jangam, 2012-09-14
On Friday 14 September 2012 07:04 PM, Ashish Jangam wrote:
quoted hunk ↗ jump to hunk
+static irqreturn_t da9055_onkey_irq(int irq, void *data)
+{
+	struct input_dev *input_dev = data;
+
+	input_report_key(input_dev, KEY_POWER, 1);
When do you send the release key event?


Overall driver looks like you can use the gpio-key driver with passing irq number, without passing gpio.


-----------------------------------------------------------------------------------
This email message is for the sole use of the intended recipient(s) and may contain
confidential information.  Any unauthorized review, use, disclosure or distribution
is prohibited.  If you are not the intended recipient, please contact the sender by
reply email and destroy all copies of the original message.
-----------------------------------------------------------------------------------
Thread (2 messages) 2 messages, 2 authors, last reply 2012-09-14
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