commit | e5a233cb647d749de2f188477c9a54b94d90477f | [log] [tgz] |
---|---|---|
author | Laurent Pinchart <laurent.pinchart@ideasonboard.com> | Wed Oct 30 12:34:51 2013 +0100 |
committer | Chris Ball <chris@printf.net> | Mon Jan 13 12:48:25 2014 -0500 |
tree | 77c100b8c11c31e95e69a56aea6be92bbfeed255 | |
parent | e3c418f1b26b59841bd074baa740a43afc15199b [diff] |
mmc: sh_mmcif: Factorize DMA channel request and configuration code The channel request and configuration code is duplicated for the rx and tx channels. Create a function that requests a single channel and call it twice instead. Signed-off-by: Laurent Pinchart <laurent.pinchart@ideasonboard.com> Signed-off-by: Chris Ball <cjb@laptop.org>