[media] cx231xx: Fix memory leak
authorJean-Baptiste Theou <jtheou@adeneo-embedded.us>
Fri, 8 Jan 2016 22:02:03 +0000 (20:02 -0200)
committerMauro Carvalho Chehab <mchehab@osg.samsung.com>
Mon, 1 Feb 2016 10:00:47 +0000 (08:00 -0200)
commit9dd73448c6a98b1971e626627e4b020b8898a3f6
tree7776bc1d34e1ef80d7d048e739b04247a6da06f0
parentaeae69daa312246e8f03ed2f6bc792d25a531118
[media] cx231xx: Fix memory leak

dma_area needs to be freed when the device is closed.

Based on em23xx-audio.c

Signed-off-by: Jean-Baptiste Theou <jtheou@adeneo-embedded.us>
Signed-off-by: Hans Verkuil <hans.verkuil@cisco.com>
Signed-off-by: Mauro Carvalho Chehab <mchehab@osg.samsung.com>
drivers/media/usb/cx231xx/cx231xx-audio.c