]> git.baikalelectronics.ru Git - kernel.git/commit
USB: musb: do not override DMA mode in channel program
authorAnand Gadiyar <gadiyar@ti.com>
Thu, 8 Jul 2010 11:04:55 +0000 (16:34 +0530)
committerGreg Kroah-Hartman <gregkh@suse.de>
Tue, 10 Aug 2010 21:35:39 +0000 (14:35 -0700)
commit8a5323afb26d6493dfda3a53096fe6d2bee19d5a
tree21b329b59fcccdb77d4282e91584047ab0d3f42f
parentf69407d8dc1c8a6bfef3ff080045cdb3ee22d068
USB: musb: do not override DMA mode in channel program

There is no reason for the DMA channel program to override the
DMA mode passed down by its caller. Use the passed parameter
directly, and let the caller handle the decision on which mode
is to be used.

Signed-off-by: Anand Gadiyar <gadiyar@ti.com>
Acked-by: Felipe Balbi <felipe.balbi@nokia.com>
Signed-off-by: Ajay Kumar Gupta <ajay.gupta@ti.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
drivers/usb/musb/musbhsdma.c