]> git.ipfire.org Git - thirdparty/kernel/stable.git/commit
i2c: mux: demux-pinctrl: Fix an error handling path in 'i2c_demux_pinctrl_probe()'
authorChristophe JAILLET <christophe.jaillet@wanadoo.fr>
Wed, 6 May 2020 19:21:00 +0000 (21:21 +0200)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Wed, 27 May 2020 15:48:03 +0000 (17:48 +0200)
commit143e6a6be44a39495e86bfee79cffffcf4944f1d
tree5e948c0309d9e637b5e3389ef5e5e5122edb18ed
parent5cc27996f6ac1e17e4b3e7bf38b12eaa50df4df7
i2c: mux: demux-pinctrl: Fix an error handling path in 'i2c_demux_pinctrl_probe()'

[ Upstream commit e9d1a0a41d4486955e96552293c1fcf1fce61602 ]

A call to 'i2c_demux_deactivate_master()' is missing in the error handling
path, as already done in the remove function.

Fixes: 50a5ba876908 ("i2c: mux: demux-pinctrl: add driver")
Signed-off-by: Christophe JAILLET <christophe.jaillet@wanadoo.fr>
Signed-off-by: Wolfram Sang <wsa@kernel.org>
Signed-off-by: Sasha Levin <sashal@kernel.org>
drivers/i2c/muxes/i2c-demux-pinctrl.c