]> git.baikalelectronics.ru Git - kernel.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)
committerWolfram Sang <wsa@kernel.org>
Fri, 15 May 2020 09:23:49 +0000 (11:23 +0200)
commit37fabc3e8e4cad281d6d1f0e2bbc22b3182f7121
tree05083274f6c151301eba80116dbca164958326fa
parentc54c6d8166674222901f36affff4c55df9720475
i2c: mux: demux-pinctrl: Fix an error handling path in 'i2c_demux_pinctrl_probe()'

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

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