linux-mips
[Top] [All Lists]

au1xxx dbdma.c minor fix proposal

To: linux-mips@linux-mips.org
Subject: au1xxx dbdma.c minor fix proposal
From: "Wolfgang Ocker" <weo@reccoware.de>
Date: Wed, 6 Feb 2008 12:15:46 +0100 (CET)
Importance: Normal
Original-recipient: rfc822;linux-mips@linux-mips.org
Sender: linux-mips-bounce@linux-mips.org
User-agent: SquirrelMail/1.4.8-4.0.1.el4.centos
Attached a minor patch for dbdma.c:

"""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."""

Wolfgang

Attachment: dbdma_devtab_fix.patch
Description: Text Data

<Prev in Thread] Current Thread [Next in Thread>
  • au1xxx dbdma.c minor fix proposal, Wolfgang Ocker <=