Use ao_ee_flush_internal while holding mutex
authorKeith Packard <keithp@keithp.com>
Wed, 15 Apr 2009 04:23:13 +0000 (21:23 -0700)
committerKeith Packard <keithp@keithp.com>
Wed, 15 Apr 2009 04:23:13 +0000 (21:23 -0700)
ao_ee.c

diff --git a/ao_ee.c b/ao_ee.c
index e731ba2..010774d 100644 (file)
--- a/ao_ee.c
+++ b/ao_ee.c
@@ -229,7 +229,7 @@ static void
 ao_ee_fill(uint16_t block)
 {
        if (block != ao_ee_block) {
-               ao_ee_flush();
+               ao_ee_flush_internal();
                ao_ee_block = block;
                ao_ee_read_block();
        }