diff options
author | Simon Kagstrom <simon.kagstrom@gmail.com> | 2008-11-19 17:11:25 +0000 |
---|---|---|
committer | Andy Green <agreen@pads.home.warmcat.com> | 2008-11-19 17:11:25 +0000 |
commit | 107b2462fc4872eec18e7fa4a8f498f6f5c5e75d (patch) | |
tree | ae861741cb94aa5e69b68ec1d220fc76015a238d /net/8021q/vlan.c | |
parent | c298e74a6c0f6c94f57e40767b5a8be3f2ec314f (diff) |
: lis302dl-port-work-from-stable.patch
Merge in the accelerometer functionality from stable
From: Simon Kagstrom <simon.kagstrom@gmail.com>
This giant patch merges the functionality from stable. It also changes
the default threshold to 0 (generate interrupts on data). As the
level-triggered interrupts cause too frequent interruptions on low
thresholds, also set a lower limit to 36mg to avoid slowing down the
phone too much.
Also rearrange the probe function to disable interrupts only over device
I/O. This fixes the kernel errors when inserting the module.
Andy was right: In stable-tracking, no magic workaround is needed to
make suspend/resume work. I've tested the accelerometers under heavy
load (making the phone basically unusable) without getting lockups.
Signed-off-by: Simon Kagstrom <simon.kagstrom@gmail.com>
Diffstat (limited to 'net/8021q/vlan.c')
0 files changed, 0 insertions, 0 deletions