summaryrefslogtreecommitdiffstats
path: root/drivers/i2c/busses/i2c-xiic.c
diff options
context:
space:
mode:
authorAlain Volmat <alain.volmat@st.com>2019-10-25 16:04:24 +0200
committerWolfram Sang <wsa@the-dreams.de>2019-11-11 20:41:39 +0100
commit53aaaa5d9b1e95eb40e877fbffa6f964a8394bb7 (patch)
treedcc478b25967bac3df239c956c26406df3cd414e /drivers/i2c/busses/i2c-xiic.c
parent7375e079eb3dcd2619fde519def4fbc5f3fcffcb (diff)
downloadlinux-stable-53aaaa5d9b1e95eb40e877fbffa6f964a8394bb7.tar.gz
linux-stable-53aaaa5d9b1e95eb40e877fbffa6f964a8394bb7.tar.bz2
linux-stable-53aaaa5d9b1e95eb40e877fbffa6f964a8394bb7.zip
i2c: stm32f7: fix & reorder remove & probe error handling
Add missing dma channels free calls in case of error during probe and reorder the remove function so that dma channels are freed after the i2c adapter is deleted. Overall, reorder the remove function so that probe error handling order and remove function order are same. Fixes: 7ecc8cfde553 ("i2c: i2c-stm32f7: Add DMA 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>
Diffstat (limited to 'drivers/i2c/busses/i2c-xiic.c')
0 files changed, 0 insertions, 0 deletions