Patch "i2c: core: Export bus recovery functions" has been added to the 3.19-stable tree
Subsystems (2)
This is a note to let you know that I've just added the patch titled
i2c: core: Export bus recovery functions
to the 3.19-stable tree which can be found at:
http://www.kernel.org/git/?p=linux/kernel/git/stable/stable-queue.git;a=summary
The filename of the patch is:
i2c-core-export-bus-recovery-functions.patch
and it can be found in the queue-3.19 subdirectory.
If you, or anyone else, feels it should not be added to the stable tree, please let <[email protected]> know about it.
Quoted 1 line
From
c1c21f4e60ed4523292f1a89ff45a208bddd3849Mon Sep 17 00:00:00 2001
From: Mark Brown <[email protected]>
Date: Wed, 15 Apr 2015 19:18:39 +0100
Subject: i2c: core: Export bus recovery functions
From: Mark Brown <[email protected]>
commit c1c21f4e60ed4523292f1a89ff45a208bddd3849 upstream.
Current -next fails to link an ARM allmodconfig because drivers that use the core recovery functions can be built as modules but those functions are not exported:
ERROR: "i2c_generic_gpio_recovery" [drivers/i2c/busses/i2c-davinci.ko] undefined!
ERROR: "i2c_generic_scl_recovery" [drivers/i2c/busses/i2c-davinci.ko] undefined!
ERROR: "i2c_recover_bus" [drivers/i2c/busses/i2c-davinci.ko] undefined!
Add exports to fix this.
--- drivers/i2c/i2c-core.c | 3 +++ 1 file changed, 3 insertions(+)
drivers/i2c/i2c-core.c +3 -0
@@ -596,6 +596,7 @@ int i2c_generic_scl_recovery(struct i2c_ adap->bus_recovery_info->set_scl (adap,1 );return i2c_generic_recovery (adap); } +EXPORT_SYMBOL_GPL (i2c_generic_scl_recovery);int i2c_generic_gpio_recovery (struct i2c_adapter *adap) {
@@ -610,6 +611,7 @@ int i2c_generic_gpio_recovery(struct i2creturn ret; } +EXPORT_SYMBOL_GPL (i2c_generic_gpio_recovery);int i2c_recover_bus (struct i2c_adapter *adap) {
@@ -619,6 +621,7 @@ int i2c_recover_bus(struct i2c_adapter *dev_dbg (&adap->dev,"Trying i2c bus recovery\n" );return adap->bus_recovery_info->recover_bus (adap); } +EXPORT_SYMBOL_GPL (i2c_recover_bus);static int i2c_device_probe (struct device *dev) {
Patches currently in stable-queue which might be from [email protected] are
queue-3.19/spi-spidev-fix-possible-arithmetic-overflow-for-multi-transfer-message.patch queue-3.19/asoc-cs4271-increase-delay-time-after-reset.patch queue-3.19/asoc-davinci-evm-drop-un-necessary-remove-function.patch queue-3.19/spi-imx-read-back-the-rx-tx-watermark-levels-earlier.patch queue-3.19/i2c-core-export-bus-recovery-functions.patch queue-3.19/asoc-pcm512x-add-analogue-prefix-to-analogue-volume-controls.patch queue-3.19/asoc-wm8741-fix-rates-constraints-values.patch