From: Matthijs Kooijman Date: Wed, 24 Jul 2013 11:29:22 +0000 (+0200) Subject: staging: dwc2: Don't touch the dma_mask when dma is disabled X-Git-Tag: v3.12-rc1~183^2~535 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=f4616af01813cbf6a2c2aabcedb11c721d5e7680;p=pandora-kernel.git staging: dwc2: Don't touch the dma_mask when dma is disabled There was some code that cleared the dma_mask when dma was disabled in the driver. Given that clearing the mask doesn't actually tell the usb core we're not using dma, and a previous commit explicitely sets the hcd->self.uses_dma value, it seems these values are unneeded and can only potentially cause problems (when reloading a module, for example). Signed-off-by: Matthijs Kooijman Acked-by: Paul Zimmerman Signed-off-by: Greg Kroah-Hartman --- Reading git-diff-tree failed