diff options
| author | Christophe JAILLET <[email protected]> | 2025-07-30 19:38:02 +0000 |
|---|---|---|
| committer | Wolfram Sang <[email protected]> | 2025-08-03 20:47:57 +0000 |
| commit | 33ac5155891cab165c93b51b0e22e153eacc2ee7 (patch) | |
| tree | bcbc107b9f4cdf280c19703a140d093e3eb0f48e /fs/fat/misc.c | |
| parent | i2c: Force DLL0945 touchpad i2c freq to 100khz (diff) | |
| download | kernel-33ac5155891cab165c93b51b0e22e153eacc2ee7.tar.gz kernel-33ac5155891cab165c93b51b0e22e153eacc2ee7.zip | |
i2c: muxes: mule: Fix an error handling path in mule_i2c_mux_probe()
If an error occurs in the loop that creates the device adapters, then a
reference to 'dev' still needs to be released.
Use for_each_child_of_node_scoped() to both fix the issue and save one line
of code.
Fixes: d0f8e97866bf ("i2c: muxes: add support for tsd,mule-i2c multiplexer")
Signed-off-by: Christophe JAILLET <[email protected]>
Signed-off-by: Wolfram Sang <[email protected]>
Diffstat (limited to 'fs/fat/misc.c')
0 files changed, 0 insertions, 0 deletions
