WSL2-Linux-Kernel/drivers/i2c
Vladimir Zapolskiy e331146973 i2c: fix leaked device refcount on of_find_i2c_* error path
If of_find_i2c_device_by_node() or of_find_i2c_adapter_by_node() find
a device by node, but its type does not match, a reference to that
device is still held. This change fixes the problem.

Signed-off-by: Vladimir Zapolskiy <vladimir_zapolskiy@mentor.com>
Signed-off-by: Wolfram Sang <wsa@the-dreams.de>
2015-08-01 12:11:58 +02:00
..
algos i2c: algo-pca: fix typo in comment 2015-06-01 08:41:19 +09:00
busses i2c: Fix typo in i2c-bfin-twi.c 2015-07-31 13:32:31 +02:00
muxes i2c: mux: pca954x: Use __i2c_transfer because of quirks 2015-06-17 14:35:38 +02:00
Kconfig
Makefile
i2c-boardinfo.c
i2c-core.c i2c: fix leaked device refcount on of_find_i2c_* error path 2015-08-01 12:11:58 +02:00
i2c-core.h
i2c-dev.c
i2c-mux.c i2c: mux: Use __i2c_transfer() instead of calling parent's master_xfer() 2015-06-17 14:35:37 +02:00
i2c-slave-eeprom.c i2c: slave eeprom: clean up sysfs bin attribute read()/write() 2015-07-31 13:32:30 +02:00
i2c-smbus.c i2c: smbus: fix typo in commet 2015-06-01 08:41:26 +09:00
i2c-stub.c