ubee: check the right flag on dec b for the crtc loop.
authorAlan Cox <alan@linux.intel.com>
Sat, 27 Dec 2014 13:14:32 +0000 (13:14 +0000)
committerAlan Cox <alan@linux.intel.com>
Sat, 27 Dec 2014 13:14:32 +0000 (13:14 +0000)
Kernel/platform-ubee/ubee.s

index 8ea0667..ce4343e 100644 (file)
@@ -100,7 +100,7 @@ ctcloop:    out (c), b                      ; register
            out (0x0D), a               ; data
            inc hl
            dec b
-           jr nc, ctcloop
+           jp po, ctcloop              ; check V not C
            ; ensure the CTC clock is right
            ld a, #0
            in a, (9)                   ; manual says in but double check