]> git.kernelconcepts.de Git - karo-tx-linux.git/commit
mrf24j40: rework rx handling to async rx handling
authorAlexander Aring <alex.aring@gmail.com>
Mon, 21 Sep 2015 09:24:35 +0000 (11:24 +0200)
committerMarcel Holtmann <marcel@holtmann.org>
Tue, 22 Sep 2015 09:51:22 +0000 (11:51 +0200)
commitc91a301162899ee100c1eab397958cb9aef50d0c
tree6b4c973b67e11e743b2cfcc16c927fa76500363c
parent6844a0e4debd67c9bcf6a8fed3c7f9c24413c349
mrf24j40: rework rx handling to async rx handling

This patch prepares that we can do the receive handling inside interrupt
context by using spi_async. This is necessary for introduce a
non-threaded irq handling.

Also we drop the bit setting for "RXDECINV" at register "BBREG1", we do
a driectly full write of register "BBREG1", because it contains the bit
RXDECINV only.

Reviewed-by: Stefan Schmidt <stefan@osg.samsung.com>
Signed-off-by: Alexander Aring <alex.aring@gmail.com>
Signed-off-by: Marcel Holtmann <marcel@holtmann.org>
drivers/net/ieee802154/mrf24j40.c