diff options
author | Bo Liu <[email protected]> | 2024-02-02 01:45:12 -0500 |
---|---|---|
committer | Stefan Schmidt <[email protected]> | 2024-02-26 21:40:31 +0100 |
commit | 35c6bba552a8469e6423727fba6a73616fcabd51 (patch) | |
tree | deda72241100cc084a1f22aa166224004ac27607 | |
parent | 2373699560a754079579b7722b50d1d38de1960e (diff) |
net: ieee802154: at86rf230: convert to use maple tree register cache
The maple tree register cache is based on a much more modern data structure
than the rbtree cache and makes optimisation choices which are probably
more appropriate for modern systems than those made by the rbtree cache.
Signed-off-by: Bo Liu <[email protected]>
Reviewed-by: Miquel Raynal <[email protected]>
Message-ID: <[email protected]>
Signed-off-by: Stefan Schmidt <[email protected]>
-rw-r--r-- | drivers/net/ieee802154/at86rf230.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/net/ieee802154/at86rf230.c b/drivers/net/ieee802154/at86rf230.c index 164c7f605af5..6212164ffb36 100644 --- a/drivers/net/ieee802154/at86rf230.c +++ b/drivers/net/ieee802154/at86rf230.c @@ -316,7 +316,7 @@ static const struct regmap_config at86rf230_regmap_spi_config = { .val_bits = 8, .write_flag_mask = CMD_REG | CMD_WRITE, .read_flag_mask = CMD_REG, - .cache_type = REGCACHE_RBTREE, + .cache_type = REGCACHE_MAPLE, .max_register = AT86RF2XX_NUMREGS, .writeable_reg = at86rf230_reg_writeable, .readable_reg = at86rf230_reg_readable, |