Patch "syscon: Decrease driver registration priority" breaks clps711x target

Sascha Hauer s.hauer at pengutronix.de
Wed Jul 13 06:04:48 PDT 2016


On Wed, Jul 13, 2016 at 10:37:11AM +0300, Alexander Shiyan wrote:
> Hello All.
> 
> Patch "syscon: Decrease driver registration priority" breaks clps711x target.
> Previously, the syscon device initialized at "core_initcall", that did not cause problems.
> Now the device is initialized at "device_initcall" level, but clps711x uses syscon for
> the serial, so serial device initialized at "console_initcall" level.
> Any ideas?

We could move syscon back to core_initcall level and in the syscon
driver use dev_get_resource() instead of request_iomem_region().

Sascha

-- 
Pengutronix e.K.                           |                             |
Industrial Linux Solutions                 | http://www.pengutronix.de/  |
Peiner Str. 6-8, 31137 Hildesheim, Germany | Phone: +49-5121-206917-0    |
Amtsgericht Hildesheim, HRA 2686           | Fax:   +49-5121-206917-5555 |



More information about the barebox mailing list