]> git.baikalelectronics.ru Git - kernel.git/commit
at86rf230: remove hrtimer on 1 usec delay
authorAlexander Aring <alex.aring@gmail.com>
Thu, 30 Jul 2015 10:13:29 +0000 (12:13 +0200)
committerMarcel Holtmann <marcel@holtmann.org>
Thu, 30 Jul 2015 12:02:21 +0000 (14:02 +0200)
commit3ebbc52914acf5532a2e3c2536a57e88172a524a
tree7789af0ef9d89209ed6f2f993ab9392520661c4a
parent40fd5552a53998896c9dc1a74f2b2c50bc3880ad
at86rf230: remove hrtimer on 1 usec delay

According Documentation/timers/timers-howto.txt the usually case for
setting up a hrtimer takes > ~10us. So we should use udelay in this
case so we are sure that the state change was done, before doing the
state change assert.

Signed-off-by: Alexander Aring <alex.aring@gmail.com>
Signed-off-by: Marcel Holtmann <marcel@holtmann.org>
drivers/net/ieee802154/at86rf230.c