state: backend_bucket_circular: fix for non power of 2 writesize
backend_bucket_circular currently assumes writesize is power of 2,
which makes it fail on dataflash devices, where this assumption
is false.

Signed-off-by: Ladislav Michl <ladis@linux-mips.org>
Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>
1 parent 9cfd8c2 commit f70141447cf1aedd77a40d8bf76657927bb73840
@Ladislav Michl Ladislav Michl authored on 25 Sep 2018
Sascha Hauer committed on 26 Sep 2018
Showing 1 changed file
View
common/state/backend_bucket_circular.c