]> git.karo-electronics.de Git - karo-tx-linux.git/commit
[media] media: davinci: vpif_capture: move the freeing of irq and global variables...
authorLad, Prabhakar <prabhakar.csengg@gmail.com>
Mon, 17 Jun 2013 14:20:44 +0000 (11:20 -0300)
committerMauro Carvalho Chehab <mchehab@redhat.com>
Fri, 21 Jun 2013 14:26:05 +0000 (11:26 -0300)
commit410ca6053e3c216b8ca0b05f45d6cd76b334a459
treedb9878caf7da0fb1aa44c479367f79be3cc13d47
parent079b3852b76a186b7c4e858420eee165c9837178
[media] media: davinci: vpif_capture: move the freeing of irq and global variables to remove()

Ideally the freeing of irq's and the global variables needs to be
done in the remove() rather than module_exit(), this patch moves
the freeing up of irq's and freeing the memory allocated to channel
objects to remove() callback of struct platform_driver.

Signed-off-by: Lad, Prabhakar <prabhakar.csengg@gmail.com>
Acked-by: Laurent Pinchart <laurent.pinchart@ideasonboard.com>
Signed-off-by: Hans Verkuil <hans.verkuil@cisco.com>
Signed-off-by: Mauro Carvalho Chehab <mchehab@redhat.com>
drivers/media/platform/davinci/vpif_capture.c