]> git.baikalelectronics.ru Git - kernel.git/commit
i2c: i2c-mux-gpio: use deferred probing
authorIonut Nicu <ioan.nicu.ext@nsn.com>
Wed, 9 Oct 2013 09:50:45 +0000 (11:50 +0200)
committerWolfram Sang <wsa@the-dreams.de>
Thu, 10 Oct 2013 08:22:33 +0000 (10:22 +0200)
commitdb45cd63f8f87773fea974511884b4cee35ce92b
tree7634cf32455503af0eb60c1ad26f86c916a6679b
parentab3e334bea187e53cc095cab74c9dd452294b4f4
i2c: i2c-mux-gpio: use deferred probing

If the i2c-parent bus driver is not loaded, returning
-ENODEV will force people to unload and then reload the
module again to get it working.

Signed-off-by: Ionut Nicu <ioan.nicu.ext@nsn.com>
Acked-by: Peter Korsgaard <peter.korsgaard@barco.com>
Signed-off-by: Wolfram Sang <wsa@the-dreams.de>
drivers/i2c/muxes/i2c-mux-gpio.c