nv_acc_dma.c: fix gcc6 build
Signed-off-by: Augustin Cavalier <[email protected]>
This commit is contained in:
committed by
Augustin Cavalier
parent
2df5a0bafe
commit
f92ba94cd3
@@ -677,7 +677,7 @@ status_t nv_acc_init_dma()
|
||||
|
||||
/* setup some unknown serially accessed registers (?) */
|
||||
tmp = (NV_REG32(NV32_NV4X_WHAT0) & 0x000000ff);
|
||||
for (cnt = 0; (tmp && !(tmp & 0x00000001)); tmp >>= 1, cnt++);
|
||||
for (cnt = 0; (tmp && !(tmp & 0x00000001)); tmp >>= 1, cnt++)
|
||||
{
|
||||
ACCW(NV4X_WHAT2, cnt);
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user