-
Notifications
You must be signed in to change notification settings - Fork 577
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
os/drivers/input: Add ioctl for Touch Wakeup and suspend #6519
base: master
Are you sure you want to change the base?
Conversation
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Let's add location input
at the title
os/drivers/input: Add ....
#define TSIOC_SUSPEND _TSIOC(0x0006) /* Disable touch interrupts */ | ||
#define TSIOC_WAKEUP _TSIOC(0x0007) /* Enable touch interrupts */ |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
interrupt
Let's remove s
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
done
@ewoodev Could you review this? |
d6111b4
to
78582e7
Compare
Add support for Touch wakeup and touch suspend. Added ioctl for it
78582e7
to
0fe664e
Compare
case TSIOC_SUSPEND: { | ||
priv->ops->touch_disable(priv); | ||
} | ||
break; | ||
|
||
case TSIOC_WAKEUP: { | ||
priv->ops->touch_enable(priv); | ||
} | ||
break; |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Sorry but real operations are touch disable and enable. But the commands are SUSPEND and WAKEUP. wakeup and enable look little bit different. Is it impossible to use ENABLE and DISABLE?
Add support for Touch wakeup and touch suspend. Added ioctl for it