Hi Alex, > While in sleep state then we can't access the at86rf2xx registers. This > patch checks if the transceiver is in sleep state before sending spi > messages via regmap. Regmap is used on every driver ops callback except > for receive and xmit handling, but while receive and xmit handling the > phy should not be inside the sleep state. > > Signed-off-by: Alexander Aring <alex.aring@xxxxxxxxx> > --- > change since v2: > - I detect an issue with cca ed level setting in v1, there was a return in the > middle of awake and sleep transceiver. This results that the transceiver > wasn't again turn into sleep state afterwards. > To avoid such behaviour I moved the awake and sleep into lowlevel register io > functions. These functions "could" be called only when the phy is in sleep > state. > > > drivers/net/ieee802154/at86rf230.c | 88 +++++++++++++++++++++++++++++--------- > 1 file changed, 68 insertions(+), 20 deletions(-) patch has been applied to bluetooth-next tree. Regards Marcel -- To unsubscribe from this list: send the line "unsubscribe linux-wpan" in the body of a message to majordomo@xxxxxxxxxxxxxxx More majordomo info at http://vger.kernel.org/majordomo-info.html