diff options
author | Anton Vorontsov <avorontsov@ru.mvista.com> | 2008-12-18 08:23:22 +0000 |
---|---|---|
committer | David S. Miller <davem@davemloft.net> | 2008-12-18 22:48:53 -0800 |
commit | b3431c647662a3647f3500a12ec85d65e3622759 (patch) | |
tree | dada029b120f9299bef0e93e2c9434c85da4c965 /drivers/acpi/sbs.c | |
parent | 6086ebca13ddc9cfaaa25248ba8ebef35103fb74 (diff) |
ucc_geth: Fix endless loop in stop_{tx,rx} routines
Currently the routines wait for the various bits w/o an assumption that
bits may never get set. When timeouts happen I see that these bits never
get set and so the routines hang the kernel.
With this patch we'll wait the graceful stop for 100 ms, and then will
simply exit. There is nothing* we can do about that, but it's OK since
we'll do full reset later.
* Well, actually, there is also not-graceful variant for the TX stop,
but specs says that we never should use it.
Signed-off-by: Anton Vorontsov <avorontsov@ru.mvista.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'drivers/acpi/sbs.c')
0 files changed, 0 insertions, 0 deletions