dmaengine: advertise all channels on a device to dma_filter_fn
authorDan Williams <dan.j.williams@intel.com>
Tue, 6 Jan 2009 18:38:21 +0000 (11:38 -0700)
committerDan Williams <dan.j.williams@intel.com>
Tue, 6 Jan 2009 18:38:21 +0000 (11:38 -0700)
commite2346677af86150c6083974585c131e8a2c3ddcc
tree2205b224c4e961ad59dc684fb4db835aaf9515a0
parent864498aaa9fef69ee166da023d12413a7776342d
dmaengine: advertise all channels on a device to dma_filter_fn

Allow dma_filter_fn routines to disambiguate multiple channels on a device
rather than assuming that all channels on a device are equal.

Cc: Maciej Sosnowski <maciej.sosnowski@intel.com>
Reported-by: Guennadi Liakhovetski <g.liakhovetski@gmx.de>
Signed-off-by: Dan Williams <dan.j.williams@intel.com>
drivers/dma/dmaengine.c