qti_sdio_client: Free rx DMA buffers after use
Free rx DMA buffere after the data is read from the buffer. Change-Id: I2b8f97beb50b4752674fc8b4034feb84d2a36302 Signed-off-by: Amandeep Singh <amansing@codeaurora.org>
This commit is contained in:
parent
52ad57ba4e
commit
b47bd8b9e7
1 changed files with 1 additions and 0 deletions
|
@ -975,6 +975,7 @@ static void data_avail_worker(struct kthread_work *work)
|
|||
wake_up(&qsb->wait_q);
|
||||
|
||||
wait_for_completion(&read_complete);
|
||||
kfree(data_node->rx_dma_buf);
|
||||
kfree(data_node);
|
||||
spin_lock(&list_lock);
|
||||
}
|
||||
|
|
Loading…
Add table
Reference in a new issue