]> git.baikalelectronics.ru Git - kernel.git/commit
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)
commitf72104a05a16efc5cd2e3bd9b7ff0e8ba67fa9a9
tree57c022f48048b75551cb3e395276383ca0c611e7
parent563209c64b9cde9437723843916bae06d7f3567d
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