[media] exynos4-is: Correct clean up sequence on error path in fimc_is_probe()
authorSylwester Nawrocki <s.nawrocki@samsung.com>
Sat, 19 Oct 2013 22:07:51 +0000 (19:07 -0300)
committerMauro Carvalho Chehab <m.chehab@samsung.com>
Thu, 2 Jan 2014 16:25:56 +0000 (14:25 -0200)
commitda8cec30b03e8080494996b8edc0fcebfa5ef871
tree9c68f7c8e02254b372dd92a4746a831a356ef5cb
parent84f14456716ad860852f25cd144f195c5c66ca62
[media] exynos4-is: Correct clean up sequence on error path in fimc_is_probe()

The memory allocator is being initialized before registering the subdevs
so reverse the cleanup sequence to avoid trying unregister not registered
subdevs.

Signed-off-by: Sylwester Nawrocki <s.nawrocki@samsung.com>
Signed-off-by: Mauro Carvalho Chehab <m.chehab@samsung.com>
drivers/media/platform/exynos4-is/fimc-is.c