i2c: stm32f7: indicate the address being accessed on errors
authorAlain Volmat <alain.volmat@foss.st.com>
Fri, 5 Feb 2021 08:51:44 +0000 (09:51 +0100)
committerWolfram Sang <wsa@kernel.org>
Thu, 18 Mar 2021 10:58:33 +0000 (11:58 +0100)
commitb87752528fe562f01034168b7e4c476b200bc456
tree6ff503bcbee976cf10e78d3b4deec0ebf981a158
parent9449a558549978c1fe9af340164b17fa7d12af16
i2c: stm32f7: indicate the address being accessed on errors

To help debugging issues, add the address of the slave being
accessed when getting an error.

Signed-off-by: Alain Volmat <alain.volmat@foss.st.com>
Signed-off-by: Pierre-Yves MORDRET <pierre-yves.mordret@foss.st.com>
Signed-off-by: Wolfram Sang <wsa@kernel.org>
drivers/i2c/busses/i2c-stm32f7.c