commit | 3743e05f5d4084d0d08a1490118a4996080def87 | [log] [tgz] |
---|---|---|
author | Peter Rosin <peda@axentia.se> | Sun May 07 07:16:30 2017 +0200 |
committer | Greg Kroah-Hartman <gregkh@linuxfoundation.org> | Fri Apr 13 19:47:57 2018 +0200 |
tree | 5a9ef489552fc0179116732f9fbd7501f9efe071 | |
parent | c53c4ad96242e868da492f424535bf4b45f80503 [diff] |
i2c: mux: reg: put away the parent i2c adapter on probe failure [ Upstream commit 68118e0e73aa3a6291c8b9eb1ee708e05f110cea ] It is only prudent to let go of resources that are not used. Fixes: b3fdd32799d8 ("i2c: mux: Add register-based mux i2c-mux-reg") Signed-off-by: Peter Rosin <peda@axentia.se> Signed-off-by: Sasha Levin <alexander.levin@microsoft.com> Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>