diff options
author | Duncan Sands <duncan.sands@math.u-psud.fr> | 2005-06-23 09:37:56 +0200 |
---|---|---|
committer | Greg Kroah-Hartman <gregkh@suse.de> | 2005-07-12 11:52:55 -0700 |
commit | 1a7aad15ff93be104c8e0851a43b94f8ccd92225 (patch) | |
tree | 943d64e19c20871b20637e4e51dfdb950e28cad0 /drivers/usb/Makefile | |
parent | cd5c08fb7b0d960b7cd48bc977feee7b3bd8b046 (diff) | |
download | linux-3.10-1a7aad15ff93be104c8e0851a43b94f8ccd92225.tar.gz linux-3.10-1a7aad15ff93be104c8e0851a43b94f8ccd92225.tar.bz2 linux-3.10-1a7aad15ff93be104c8e0851a43b94f8ccd92225.zip |
[PATCH] USB ATM: fix line resync logic
We map states 0x00 and 0x10 to the ATM_PHY_SIG_LOST flag. The current logic fails to
resync the line if we get state 0x10 followed by 0x00, since we only resync the line
when the state is 0x00 and the flag changed. Doubly fixed by (1) always resyncing the
line when the state is 0x00 even if the state didn't change, and (2) keeping track of
the last state, not just the flag. We do (2) as well as (1) in order to get better log
messages.
This is a tweaked version of the original patch by Aurelio Arroyo.
Signed-off-by: Duncan Sands <baldrick@free.fr>
Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
Diffstat (limited to 'drivers/usb/Makefile')
0 files changed, 0 insertions, 0 deletions