1a22aabf20
Attempting to rollback the activation of the current master when
the current master has not been activated is bad. priv->cur_chan
and priv->cur_adap are both still zeroed out and the rollback
may result in attempts to revert an of changeset that has not been
applied and do result in calls to both del and put the zeroed out
i2c_adapter. Maybe it crashes, or whatever, but it's bad in any
case.
Fixes:
|
||
---|---|---|
.. | ||
Kconfig | ||
Makefile | ||
i2c-arb-gpio-challenge.c | ||
i2c-demux-pinctrl.c | ||
i2c-mux-gpio.c | ||
i2c-mux-gpmux.c | ||
i2c-mux-ltc4306.c | ||
i2c-mux-mlxcpld.c | ||
i2c-mux-pca954x.c | ||
i2c-mux-pca9541.c | ||
i2c-mux-pinctrl.c | ||
i2c-mux-reg.c |