]> git.proxmox.com Git - mirror_ubuntu-disco-kernel.git/commit
i2c: i2c-designware-platdrv: replace platform_driver_probe to support deferred probing
authorWolfram Sang <wsa@the-dreams.de>
Tue, 8 Oct 2013 20:35:33 +0000 (22:35 +0200)
committerWolfram Sang <wsa@the-dreams.de>
Thu, 10 Oct 2013 08:22:28 +0000 (10:22 +0200)
commitcccdcea14fc2de8707c52e537fa2b384ccfe7ec2
tree7c63d1360eb1fdd9680b25e2bb1e0a43ea775c73
parentd0e639c9e06d44e713170031fe05fb60ebe680af
i2c: i2c-designware-platdrv: replace platform_driver_probe to support deferred probing

Subsystems like pinctrl and gpio rightfully make use of deferred probing at
core level. Now, deferred drivers won't be retried if they don't have a .probe
function specified in the driver struct. Fix this driver to have that, so the
devices it supports won't get lost in a deferred probe.

Reported-by: Zhangfei Gao <zhangfei.gao@linaro.org>
Signed-off-by: Wolfram Sang <wsa@the-dreams.de>
drivers/i2c/busses/i2c-designware-platdrv.c