]> pilppa.com Git - linux-2.6-omap-h63xx.git/commit
dmaengine: protect 'id' from concurrent registrations
authorDan Williams <dan.j.williams@intel.com>
Thu, 4 Dec 2008 00:17:07 +0000 (17:17 -0700)
committerDan Williams <dan.j.williams@intel.com>
Thu, 4 Dec 2008 00:25:36 +0000 (17:25 -0700)
commitb0b42b16ff2b90f17bc1a4308366c9beba4b276e
treed9025b46fe5360300ae4e430df3246c67602adad
parent532d3b1f86f41834a25373e3ded981d68e4ce17f
dmaengine: protect 'id' from concurrent registrations

There is a possibility to have two devices registered with the same id.

Cc: <stable@kernel.org>
Acked-by: Maciej Sosnowski <maciej.sosnowski@intel.com>
Signed-off-by: Dan Williams <dan.j.williams@intel.com>
drivers/dma/dmaengine.c