diff options
author | Alexander Aring <[email protected]> | 2014-03-15 09:29:05 +0100 |
---|---|---|
committer | David S. Miller <[email protected]> | 2014-03-17 16:10:26 -0400 |
commit | 56f023fbe8fff04a46b5486288eaa1dc8bfdd5b9 (patch) | |
tree | 8de20aaf7622d6019ddc63df13c44c02b6648a5f /lib/cpu-notifier-error-inject.c | |
parent | 7e8146189a6c2ba9445b8d848847f2520c6cb028 (diff) |
at86rf230: change reset timings
While checkpatch another patch I got a:
"WARNING: msleep < 20ms can sleep for up to 20ms"
The datasheet of at86rf231 and at86rf212 says a minimum delay for reset
pulse width and spi access latency after reset is 625 nanoseconds.
This patch removes the 1 milliseconds sleep and replace it with a 1
microseconds udelay which should be also okay for the reset pulse width.
To change the state from RESET -> TRX_OFF the at86rf230 device needs 120
microseconds, this is a worst case of all at86rf* chips.
Signed-off-by: Alexander Aring <[email protected]>
Signed-off-by: David S. Miller <[email protected]>
Diffstat (limited to 'lib/cpu-notifier-error-inject.c')
0 files changed, 0 insertions, 0 deletions