diff options
author | Sebastian Andrzej Siewior | 2013-10-16 12:50:07 +0200 |
---|---|---|
committer | Felipe Balbi | 2013-10-17 18:31:51 +0200 |
commit | 8d1aad7485e653c2c5fd985b326096f680f7d918 (patch) | |
tree | 67db34c0f82fcfe41f433ffc34f7f51d4015b36b /drivers/usb/musb/musb_cppi41.c | |
parent | usb: musb: core: properly free host / device structs in err path (diff) | |
download | kernel-qcow2-linux-8d1aad7485e653c2c5fd985b326096f680f7d918.tar.gz kernel-qcow2-linux-8d1aad7485e653c2c5fd985b326096f680f7d918.tar.xz kernel-qcow2-linux-8d1aad7485e653c2c5fd985b326096f680f7d918.zip |
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 <bigeasy@linutronix.de>
Signed-off-by: Felipe Balbi <balbi@ti.com>
Diffstat (limited to 'drivers/usb/musb/musb_cppi41.c')
0 files changed, 0 insertions, 0 deletions