diff options
author | Sylwester Nawrocki <s.nawrocki@samsung.com> | 2013-04-18 14:18:22 -0300 |
---|---|---|
committer | Mauro Carvalho Chehab <mchehab@redhat.com> | 2013-04-25 09:36:52 -0300 |
commit | 0e30c7e1f1a162d0c2026cdc5ad4f0f0a7332fc6 (patch) | |
tree | 00cff90e3ca07d70e24e6958ff9fb5cea005aa6f /drivers/media/platform/exynos4-is/fimc-is.c | |
parent | 450f5f54758a26173c50950172c00eb192f8a22c (diff) | |
download | lwn-0e30c7e1f1a162d0c2026cdc5ad4f0f0a7332fc6.tar.gz lwn-0e30c7e1f1a162d0c2026cdc5ad4f0f0a7332fc6.zip |
[media] exynos4-is: Change function call order in fimc_is_module_exit()
Due to hardware dependencies (clocks/power domain) the I2C bus
controller needs to be unregistered before fimc-is.
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>
Diffstat (limited to 'drivers/media/platform/exynos4-is/fimc-is.c')
-rw-r--r-- | drivers/media/platform/exynos4-is/fimc-is.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/drivers/media/platform/exynos4-is/fimc-is.c b/drivers/media/platform/exynos4-is/fimc-is.c index ca72b02022ad..5e890776d164 100644 --- a/drivers/media/platform/exynos4-is/fimc-is.c +++ b/drivers/media/platform/exynos4-is/fimc-is.c @@ -995,9 +995,9 @@ err_sens: static void fimc_is_module_exit(void) { - platform_driver_unregister(&fimc_is_driver); - fimc_is_unregister_i2c_driver(); fimc_is_unregister_sensor_driver(); + fimc_is_unregister_i2c_driver(); + platform_driver_unregister(&fimc_is_driver); } module_init(fimc_is_module_init); |