Szía Gabor,
köszönöm a patch-et!
On Sun, May 11, 2025 at 3:31 PM Gabor Juhos j4g8y7@gmail.com wrote:
Add a new init_recovery() callback to struct 'i2c_bus_recovery_info' and modify the i2c_init_recovery() function to call that if specified instead of the generic i2c_gpio_init_recovery() function.
This allows controller drivers to skip calling the generic code by implementing a dummy callback function, or alternatively to run a fine tuned custom implementation.
This is needed for the 'i2c-pxa' driver in order to be able to fix a long standing bug for which the fix will be implemented in a followup patch.
Cc: stable@vger.kernel.org # 6.3+ Signed-off-by: Gabor Juhos j4g8y7@gmail.com Signed-off-by: Imre Kaloz kaloz@openwrt.org
Clearly, since the same problems keeps appearing on other platforms as well, this is the right way to go! Reviewed-by: Linus Walleij linus.walleij@linaro.org
Yours, Linus Walleij