} else {
switch (current_period) {
case NEURONSPI_REGFLAG_ACC_AFAP: {
- regcache_drop_region(reg_map, block_start + block_counter - period_len + 1, block_start + block_counter);
+ if (regcache_drop_region(reg_map, block_start + block_counter - period_len + 1, block_start + block_counter)) {
+#if NEURONSPI_DETAILED_DEBUG > 0
+ printk(KERN_INFO "NEURONSPI: RegCache dropping failed");
+#endif
+ }
break;
}
case NEURONSPI_REGFLAG_ACC_10HZ: {
static const struct regmap_bus neuronspi_regmap_bus =
{
- .fast_io = 1,
+ .fast_io = 0,
.write = neuronspi_regmap_hw_write,
.gather_write = neuronspi_regmap_hw_gather_write,
.reg_write = neuronspi_regmap_hw_reg_write,