Skip to content

Commit

Permalink
Blackfin arch: request_dma() returns 0 on success, not channel
Browse files Browse the repository at this point in the history
Signed-off-by: Mike Frysinger <vapier.adi@gmail.com>
Signed-off-by: Bryan Wu <cooloney@kernel.org>
  • Loading branch information
Mike Frysinger authored and Bryan Wu committed Jan 7, 2009
1 parent 6ab729d commit 596b565
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion arch/blackfin/kernel/bfin_dma_5xx.c
Original file line number Diff line number Diff line change
Expand Up @@ -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);

Expand Down

0 comments on commit 596b565

Please sign in to comment.