Michael Gernoth [Thu, 19 May 2011 18:19:09 +0000 (20:19 +0200)]
change compiler calls, this fixes potential toolchain-problems
It seems cc-option from the kenrel Makefiles does not like it when
the cross-compiler is directly specified and sometimes generates
wrong arch-info due to this. This just leads to unbuildable code,
not to problems in successfully built modules.
Michael Gernoth [Thu, 19 May 2011 13:14:05 +0000 (15:14 +0200)]
Set GPIOKPF_DEBOUNCE, just in case
This flag is already set by Motorola, as it is included in
GPIOKPF_REMOVE_PHANTOM_KEYS. I assume that nobody at Motorola
looked at this flag, as they would have seen that it also enable
the debouncing code which needs to have a debounce_delay set.
When the delay is 0 and the code is active, the bouncing even gets
worse, as the keypad is scanned more rapidly