]> git.baikalelectronics.ru Git - kernel.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)
commit5f149cd0f9757a24da5f4cd1fd1d176beb017acf
tree6b4c973b67e11e743b2cfcc16c927fa76500363c
parentf4abd6bcc0786f6f5c075066d6b9a4358299b44b
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