summaryrefslogtreecommitdiffstats
path: root/lib
diff options
context:
space:
mode:
authorDuncan Sands <duncan.sands@math.u-psud.fr>2005-06-23 09:37:56 +0200
committerGreg Kroah-Hartman <gregkh@suse.de>2005-07-12 11:52:55 -0700
commit1a7aad15ff93be104c8e0851a43b94f8ccd92225 (patch)
tree943d64e19c20871b20637e4e51dfdb950e28cad0 /lib
parentcd5c08fb7b0d960b7cd48bc977feee7b3bd8b046 (diff)
downloadop-kernel-dev-1a7aad15ff93be104c8e0851a43b94f8ccd92225.zip
op-kernel-dev-1a7aad15ff93be104c8e0851a43b94f8ccd92225.tar.gz
[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 'lib')
0 files changed, 0 insertions, 0 deletions
OpenPOWER on IntegriCloud