[media] tm6000: Plug memory leak on PCM free
authorThierry Reding <thierry.reding@avionic-design.de>
Thu, 4 Aug 2011 07:14:16 +0000 (04:14 -0300)
committerMauro Carvalho Chehab <mchehab@redhat.com>
Wed, 31 Aug 2011 20:21:25 +0000 (17:21 -0300)
commit8d90e1e382688d55a75677cc4c7210a697125554
treeaddfd940325cf9119739e987360b167fdfd24d5d
parentaa4a583d3539729d1cbd64cda7a8be078a824df8
[media] tm6000: Plug memory leak on PCM free

When releasing hardware resources, the DMA buffer allocated to the PCM
device needs to be freed to prevent a memory leak.

Signed-off-by: Thierry Reding <thierry.reding@avionic-design.de>
Signed-off-by: Mauro Carvalho Chehab <mchehab@redhat.com>
drivers/staging/tm6000/tm6000-alsa.c