Commit graph android_kernel_sony_sdm845/drivers/input/misc/soc_button_array.c
Message SHA1
Input: soc_button_array - add missing memory allocation check
Signed-off-by: Pramod Gurav <pramod.gurav@smartplayin.com>
Signed-off-by: Dmitry Torokhov <dmitry.torokhov@gmail.com>

Pramod Gurav   authored and   Dmitry Torokhov   commited 2014-07-25 18:58:41 -07:00
91cf07cdae
Input: soc_button_array - remove duplicate inclusion of input.h
input.h was included twice.

Signed-off-by: Sachin Kamat <sachin.kamat@linaro.org>
Signed-off-by: Dmitry Torokhov <dmitry.torokhov@gmail.com>

Sachin Kamat   authored and   Dmitry Torokhov   commited 2014-05-28 23:35:17 -07:00
3e582979e4
Input: soc_button_array - fix a crash during rmmod
When the system has zero or one button available, trying to rmmod
soc_button_array will cause crash. Fix this by properly handling -ENODEV
in probe().

Signed-off-by: Lejun Zhu <lejun.zhu@linux.intel.com>
Signed-off-by: Dmitry Torokhov <dmitry.torokhov@gmail.com>

Lejun Zhu   authored and   Dmitry Torokhov   commited 2014-04-22 22:56:36 -07:00
7740fc5210
Input: add driver for SOC button array
This patch adds support for the GPIO buttons on some Intel Bay Trail
tablets originally running Windows 8. The ACPI description of these
buttons follows "Windows ACPI Design Guide for SoC Platforms".

Signed-off-by: Lejun Zhu <lejun.zhu@linux.intel.com>
Signed-off-by: Dmitry Torokhov <dmitry.torokhov@gmail.com>

Lejun Zhu   authored and   Dmitry Torokhov   commited 2014-03-30 23:40:56 -07:00
61cd4822dd