summaryrefslogtreecommitdiffstats
path: root/lib/crypto
diff options
context:
space:
mode:
authorPaul Barker <pbarker@konsulko.com>2020-09-09 11:04:17 +0100
committerDavid S. Miller <davem@davemloft.net>2020-09-09 11:26:32 -0700
commit5b797980908ac83a55a3d1ec578382ff60a33551 (patch)
tree3e5d7a73d395ee8cea1722e2489af0e3c8102439 /lib/crypto
parentade64eb5be9768e40c90ecb01295416abb2ddbac (diff)
net: dsa: microchip: Implement recommended reset timing
The datasheet for the ksz9893 and ksz9477 switches recommend waiting at least 100us after the de-assertion of reset before trying to program the device through any interface. Also switch the existing msleep() call to usleep_range() as recommended in Documentation/timers/timers-howto.rst. The 2ms range used here is somewhat arbitrary, as long as the reset is asserted for at least 10ms we should be ok. Signed-off-by: Paul Barker <pbarker@konsulko.com> Reviewed-by: Florian Fainelli <f.fainelli@gmail.com> Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'lib/crypto')
0 files changed, 0 insertions, 0 deletions