OSDN Git Service

at86rf230: replace state change sleeps with hrtimer
authorAlexander Aring <alex.aring@gmail.com>
Mon, 9 Mar 2015 12:56:10 +0000 (13:56 +0100)
committerMarcel Holtmann <marcel@holtmann.org>
Sat, 14 Mar 2015 16:11:31 +0000 (17:11 +0100)
commiteb3b435ecdb84d05698db862ce316b3c682f9a95
tree57c022f48048b75551cb3e395276383ca0c611e7
parente3721749000e11ba3f315efc5c98bf4cd5662f99
at86rf230: replace state change sleeps with hrtimer

This patch replace the state change timing relevant sleeps with
hrtimers. Currently the sleeps are done in the complete handler of
spi_async. The relation of doing the state change timing sleep with a
timer will get the sleep functionality out of spi_async complete handler
context.

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