From: Sebastian Andrzej Siewior Date: Wed, 16 Oct 2013 10:50:07 +0000 (+0200) Subject: usb: musb: core: Call dma_controller_destroy() in error path only once. X-Git-Tag: omap-for-v3.13/fixes-for-merge-window-take2~66^2~22^2~2 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=8d1aad7485e653c2c5fd985b326096f680f7d918;p=pandora-kernel.git usb: musb: core: Call dma_controller_destroy() in error path only once. In commit f3ce4d5 ("usb: musb: core: call dma_controller_destroy() in the err path") I erroneously assumed that the dma controller is not removed in the error patch. This was wrong because it happens later via musb_free(). That means the original commit can be reverted because it is wrong or we do this, so it is more obvious. Signed-off-by: Sebastian Andrzej Siewior Signed-off-by: Felipe Balbi --- Reading git-diff-tree failed