]> git.baikalelectronics.ru Git - kernel.git/commit
video: exynos mipi dsi: Avoid races in probe()
authorSylwester Nawrocki <s.nawrocki@samsung.com>
Wed, 9 May 2012 05:33:28 +0000 (14:33 +0900)
committerFlorian Tobias Schandinat <FlorianSchandinat@gmx.de>
Sun, 13 May 2012 13:08:22 +0000 (13:08 +0000)
commitd9031f0969e55ae761a9bfc1d07b326f791ccd72
tree2a8cb3ec8bb0cffe49813367b9941c17556e4b3f
parentbc7fde3e4d85ea6181d4d7f3aea02b2e79fb336e
video: exynos mipi dsi: Avoid races in probe()

Make sure all resources are initialized before interrupt handler is
registered. Pass full platform device name to request_irq() so it
can be distinguished which device has requested an interrupt in cases
there are multiple instances in the system.

Also enable voltage regulators regardless of they have been enabled
by bootloader or not, to make sure other drivers using same regulators
don't disable them unexpectedly.

Signed-off-by: Sylwester Nawrocki <s.nawrocki@samsung.com>
Signed-off-by: Donghwa Lee <dh09.lee@samsung.com>
Signed-off-by: Inki Dae <inki.dae@samsung.com>
Signed-off-by: Kyungmin Park <kyungmin.park@samsung.com>
Signed-off-by: Florian Tobias Schandinat <FlorianSchandinat@gmx.de>
drivers/video/exynos/exynos_mipi_dsi.c