Skip to content
Commit 0ec734c2 authored by Wolfgang Ocker's avatar Wolfgang Ocker Committed by Ralf Baechle
Browse files

[MIPS] Alchemy: Fix ids in Alchemy db dma device table



0 is a valid device id (DSCR_CMD0_UART0_TX), so we can't use it to mark
an empty entry in the device table. Use ~0 instead and search for id ~0
when looking for a free entry.

Signed-off-by: default avatarWolfgang Ocker <weo@reccoware.de>
Signed-off-by: default avatarRalf Baechle <ralf@linux-mips.org>
parent baadac8b
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment