kernel_optimize_test/drivers/i2c
Alain Volmat 52d3be711e i2c: stm32f7: rework slave_id allocation
The IP can handle two slave addresses. One address can either be
7 bits or 10 bits while the other can only be 7 bits.
In order to ensure that a 10 bits address can always be allocated
(assuming there is only one 7 bits address already allocated),
pick up the 7-bits only address slot in priority when performing a 7-bits
address allocation.

Fixes: 60d609f30d ("i2c: i2c-stm32f7: Add slave support")
Signed-off-by: Alain Volmat <alain.volmat@st.com>
Reviewed-by: Pierre-Yves MORDRET <pierre-yves.mordret@st.com>
Signed-off-by: Wolfram Sang <wsa@the-dreams.de>
2019-10-26 16:37:16 +02:00
..
algos
busses i2c: stm32f7: rework slave_id allocation 2019-10-26 16:37:16 +02:00
muxes Merge branch 'i2c/for-5.3' of git://git.kernel.org/pub/scm/linux/kernel/git/wsa/linux 2019-07-15 21:10:39 -07:00
i2c-boardinfo.c
i2c-core-acpi.c Driver core patches for 5.4-rc1 2019-09-18 10:04:39 -07:00
i2c-core-base.c i2c: add support for filters optional properties 2019-10-24 20:23:48 +02:00
i2c-core-of.c drivers: Introduce device lookup variants by of_node 2019-07-30 13:07:41 +02:00
i2c-core-slave.c
i2c-core-smbus.c
i2c-core.h Merge branch 'i2c/for-5.3' of git://git.kernel.org/pub/scm/linux/kernel/git/wsa/linux 2019-07-15 21:10:39 -07:00
i2c-dev.c
i2c-mux.c
i2c-slave-eeprom.c i2c: slave-eeprom: Add read only mode 2019-09-28 20:44:12 +02:00
i2c-smbus.c
i2c-stub.c
Kconfig docs: i2c: convert to ReST and add to driver-api bookset 2019-07-31 13:25:27 -06:00
Makefile