diff options
author | Andy Green <andy@openmoko.com> | 2008-11-19 17:09:52 +0000 |
---|---|---|
committer | Andy Green <agreen@pads.home.warmcat.com> | 2008-11-19 17:09:52 +0000 |
commit | a87a0ef35f6f1d0c18af247dd0fc3a5027613b63 (patch) | |
tree | 76a72e81a772c205e6e9dd29795b3e87b03cf519 /drivers/usb/gadget/s3c2410_udc.c | |
parent | 1ffbee7922d337215844b9e0b7607fc4202abe88 (diff) |
fix-lis302dl-resume-and-init-reload-boot-coefficients.patch
Reported-by: John Lee <john_lee@openmoko.com>
We don't reset the devices either at init or resume, where init
means use the BOOT bit to reload device calibration coefficients
from internal EEPROM. John Lee saw brain-damaged behaviour after
resume and sometimes after boot (since it may not have lost power
to force a BOOT itself that makes sense).
This patch
- adds a diagnostic dump feature down /sys
- forces BOOT action on init and resume, and waits for
completion
- makes sure XYZ capture is enabled on resume
- adds some constants in the .h and removes some magic numbers
in the code by using them
Signed-off-by: Andy Green <andy@openmoko.com>
Diffstat (limited to 'drivers/usb/gadget/s3c2410_udc.c')
0 files changed, 0 insertions, 0 deletions