syscon: Decrease driver registration priority
A number of devices on i.MX6 list "syscon" as second compatibility
string, among them, most importantly, is "iomuxv3" pinmux driver, which
gets probed at "postcore_initcall". Probing this driver at
"core_initcall" results in "syscon" driver usurping pinmux device and
preventing "iomuxv3" driver from loading and correctly initializing
pinmux of the system (which in turn results in a lot of sadness).

Moving this driver to be initialized at "device_initcall" time resolves
the issue.

Signed-off-by: Andrey Smirnov <andrew.smirnov@gmail.com>
Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>
1 parent a6c67f1 commit c203958f3bbf25fc3d612497057b962e96ad1c52
@Andrey Smirnov Andrey Smirnov authored on 16 May 2016
Sascha Hauer committed on 18 May 2016
Showing 1 changed file
View
drivers/mfd/syscon.c