Blackfin arch: request_dma() returns 0 on success, not channel
Signed-off-by: Mike Frysinger <vapier.adi@gmail.com> Signed-off-by: Bryan Wu <cooloney@kernel.org>
This commit is contained in:
parent
6ab729d82f
commit
596b565bd1
|
@ -135,7 +135,7 @@ int request_dma(unsigned int channel, const char *device_id)
|
|||
* descriptor/channel
|
||||
*/
|
||||
pr_debug("request_dma() : END \n");
|
||||
return channel;
|
||||
return 0;
|
||||
}
|
||||
EXPORT_SYMBOL(request_dma);
|
||||
|
||||
|
|
Loading…
Reference in New Issue