From: Wolfram Sang <hidden> Date: 2012-12-20 13:51:29
Hi,
I needed this driver in a project and there were some minor hurdles in getting
it to run smoothly. These four patches are fixing them.
Kind regards,
Wolfram
Wolfram Sang (4):
input: adxl34x: consistently use read/write encapsulation
input: adxl34x: don't set THRESH_TAP twice
input: adxl34x: make platform_data include self contained
input: adxl34x: default platform_data should not use defines from
driver
drivers/input/misc/adxl34x.c | 7 +++----
include/linux/input/adxl34x.h | 2 ++
2 files changed, 5 insertions(+), 4 deletions(-)
--
1.7.10.4
From: Wolfram Sang <hidden> Date: 2012-12-20 13:51:29
Only use the defines which are defined in the platform_data include
file.
Signed-off-by: Wolfram Sang <redacted>
---
drivers/input/misc/adxl34x.c | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
From: Wolfram Sang <hidden> Date: 2012-12-20 13:51:29
Since it suggests to use defines from input.h (ABS_X, ...), also include
the file to make them available.
Signed-off-by: Wolfram Sang <redacted>
---
include/linux/input/adxl34x.h | 2 ++
1 file changed, 2 insertions(+)
From: Wolfram Sang <hidden> Date: 2012-12-20 13:51:29
The datasheet doesn't say anything about writing twice, so this was
probably overlooked.
Signed-off-by: Wolfram Sang <redacted>
---
drivers/input/misc/adxl34x.c | 1 -
1 file changed, 1 deletion(-)
From: Michael Hennerich <michael.hennerich@analog.com> Date: 2012-12-20 14:01:18
On 12/20/2012 02:51 PM, Wolfram Sang wrote:
Hi,
I needed this driver in a project and there were some minor hurdles in getting
it to run smoothly. These four patches are fixing them.
Kind regards,
Wolfram
Wolfram Sang (4):
input: adxl34x: consistently use read/write encapsulation
input: adxl34x: don't set THRESH_TAP twice
input: adxl34x: make platform_data include self contained
input: adxl34x: default platform_data should not use defines from
driver
drivers/input/misc/adxl34x.c | 7 +++----
include/linux/input/adxl34x.h | 2 ++
2 files changed, 5 insertions(+), 4 deletions(-)
looks good to me -
Acked-by: Michael Hennerich <michael.hennerich@analog.com>
--
Greetings,
Michael
--
Analog Devices GmbH Wilhelm-Wagenfeld-Str. 6 80807 Muenchen
Sitz der Gesellschaft: Muenchen; Registergericht: Muenchen HRB 40368;
Geschaeftsfuehrer:Dr.Carsten Suckrow, Thomas Wessel, William A. Martin,
Margaret Seif
On Thu, Dec 20, 2012 at 03:00:21PM +0100, Michael Hennerich wrote:
On 12/20/2012 02:51 PM, Wolfram Sang wrote:
quoted
Hi,
I needed this driver in a project and there were some minor hurdles in getting
it to run smoothly. These four patches are fixing them.
Kind regards,
Wolfram
Wolfram Sang (4):
input: adxl34x: consistently use read/write encapsulation
input: adxl34x: don't set THRESH_TAP twice
input: adxl34x: make platform_data include self contained
input: adxl34x: default platform_data should not use defines from
driver
drivers/input/misc/adxl34x.c | 7 +++----
include/linux/input/adxl34x.h | 2 ++
2 files changed, 5 insertions(+), 4 deletions(-)
looks good to me -
Acked-by: Michael Hennerich <michael.hennerich@analog.com>