]> git.kernelconcepts.de Git - karo-tx-linux.git/commit
DMA-API: usb: ssb-hcd: replace dma_set_mask()+dma_set_coherent_mask() with new helper
authorRussell King <rmk+kernel@arm.linux.org.uk>
Wed, 26 Jun 2013 22:49:11 +0000 (23:49 +0100)
committerRussell King <rmk+kernel@arm.linux.org.uk>
Thu, 3 Oct 2013 09:13:32 +0000 (10:13 +0100)
commit16e66166bf8e9ed597f5de86a8ee8a408406b6c1
treed0c6d88493c8e7b6f7293d51ef67e67bed53385e
parent22d7fb09b48f21c9e47d20cd778b5ae1577aa6bb
DMA-API: usb: ssb-hcd: replace dma_set_mask()+dma_set_coherent_mask() with new helper

Replace the following sequence:

dma_set_mask(dev, mask);
dma_set_coherent_mask(dev, mask);

with a call to the new helper dma_set_mask_and_coherent().

Signed-off-by: Russell King <rmk+kernel@arm.linux.org.uk>
drivers/usb/host/ssb-hcd.c