[media] s5p-fimc: Fix error in the capture subdev deinitialization
authorSylwester Nawrocki <s.nawrocki@samsung.com>
Sun, 11 Sep 2011 13:36:13 +0000 (10:36 -0300)
committerMauro Carvalho Chehab <mchehab@redhat.com>
Thu, 24 Nov 2011 23:01:35 +0000 (21:01 -0200)
commit64c570f505a0eac4914402bb7832d019c44eabd8
tree82513f4315bb7966be2925ccfd5be83685eaf0fb
parent7acde02a5bf4d3c32cd197eb7ce2257e6a0e17b7
[media] s5p-fimc: Fix error in the capture subdev deinitialization

Make sure the subdev pointer is cleared when the subdev object
has been freed.

Signed-off-by: Sylwester Nawrocki <s.nawrocki@samsung.com>
Signed-off-by: Kyungmin Park <kyungmin.park@samsung.com>
Signed-off-by: Mauro Carvalho Chehab <mchehab@redhat.com>
drivers/media/video/s5p-fimc/fimc-capture.c