]> git.baikalelectronics.ru Git - kernel.git/commit
Merge branch 'mv88e6xxx-fix-wait'
authorDavid S. Miller <davem@davemloft.net>
Sat, 20 Aug 2016 00:14:08 +0000 (17:14 -0700)
committerDavid S. Miller <davem@davemloft.net>
Sat, 20 Aug 2016 00:14:08 +0000 (17:14 -0700)
commitd2e0fb8c6f35377524635a6bc30babddbc4758e3
treeeaa6889f5bf7358b66e330b7c82be30001d29d7c
parente3957b0b50eca734ee127696037cbf288f4a8fc2
parenta6d61e521623fc4bd0635c2a5e51822c9077af64
Merge branch 'mv88e6xxx-fix-wait'

Andrew Lunn says:

====================
Fix mv88e6xxx wait function

The mv88e6xxx wait function can be upset of the system has nots of
other things to do and a sleep takes a lot longer than expected. Fix
this be using a fixed number of iterations, rather than a fixed
walkclock time.

Witht that change made, it is possible to consoliate another
wait function.

A wait actually timing out should not happen and when it does, it
means something serious is wrong. Make sure an error is logged,
since not all callers will log an error.
====================

Reviewed-by: Vivien Didelot <vivien.didelot@savoirfairelinux.com>
Signed-off-by: David S. Miller <davem@davemloft.net>