|
@@ -826,6 +826,7 @@ void dma_async_device_unregister(struct dma_device *device)
|
|
chan->dev->chan = NULL;
|
|
chan->dev->chan = NULL;
|
|
mutex_unlock(&dma_list_mutex);
|
|
mutex_unlock(&dma_list_mutex);
|
|
device_unregister(&chan->dev->device);
|
|
device_unregister(&chan->dev->device);
|
|
|
|
+ free_percpu(chan->local);
|
|
}
|
|
}
|
|
}
|
|
}
|
|
EXPORT_SYMBOL(dma_async_device_unregister);
|
|
EXPORT_SYMBOL(dma_async_device_unregister);
|