OrangePi_CM5/drivers/net/ethernet/mellanox/mlxsw
Vadim Pasternak 7a7cf84148 mlxsw: i2c: Fix initialization error flow
[ Upstream commit d452088cdfd5a4ad9d96d847d2273fe958d6339b ]

Add mutex_destroy() call in driver initialization error flow.

Fixes: 6882b0aee1 ("mlxsw: Introduce support for I2C bus")
Signed-off-by: Vadim Pasternak <vadimp@nvidia.com>
Signed-off-by: Ido Schimmel <idosch@nvidia.com>
Link: https://lore.kernel.org/r/20220407070703.2421076-1-idosch@nvidia.com
Signed-off-by: Jakub Kicinski <kuba@kernel.org>
Signed-off-by: Sasha Levin <sashal@kernel.org>
2022-04-20 09:23:12 +02:00
..
Kconfig
…
Makefile
…
cmd.h mlxsw: pci: Avoid flow control for EMAD packets 2022-01-27 10:54:20 +01:00
core.c
…
core.h
…
core_acl_flex_actions.c
…
core_acl_flex_actions.h
…
core_acl_flex_keys.c
…
core_acl_flex_keys.h
…
core_env.c
…
core_env.h
…
core_hwmon.c
…
core_thermal.c mlxsw: thermal: Fix out-of-bounds memory accesses 2021-10-20 11:45:05 +02:00
emad.h
…
i2c.c mlxsw: i2c: Fix initialization error flow 2022-04-20 09:23:12 +02:00
i2c.h
…
ib.h
…
item.h
…
minimal.c mlxsw: Verify the accessed index doesn't exceed the array length 2021-12-01 09:19:05 +01:00
pci.c mlxsw: pci: Avoid flow control for EMAD packets 2022-01-27 10:54:20 +01:00
pci.h
…
pci_hw.h
…
port.h
…
reg.h mlxsw: reg: Spectrum-3: Enforce lowest max-shaper burst size of 11 2021-06-23 14:42:41 +02:00
resources.h
…
spectrum.c mlxsw: spectrum: Protect driver from buggy firmware 2021-12-01 09:19:06 +01:00
spectrum.h mlxsw: spectrum: Fix ECN marking in tunnel decapsulation 2021-04-14 08:42:07 +02:00
spectrum1_acl_tcam.c
…
spectrum1_kvdl.c
…
spectrum1_mr_tcam.c
…
spectrum2_acl_tcam.c
…
spectrum2_kvdl.c
…
spectrum2_mr_tcam.c
…
spectrum_acl.c
…
spectrum_acl_atcam.c
…
spectrum_acl_bloom_filter.c
…
spectrum_acl_ctcam.c
…
spectrum_acl_erp.c
…
spectrum_acl_flex_actions.c
…
spectrum_acl_flex_actions.h
…
spectrum_acl_flex_keys.c
…
spectrum_acl_tcam.c
…
spectrum_acl_tcam.h
…
spectrum_buffers.c
…
spectrum_cnt.c
…
spectrum_cnt.h
…
spectrum_dcb.c
…
spectrum_dpipe.c
…
spectrum_dpipe.h
…
spectrum_ethtool.c mlxsw: spectrum_ethtool: Add an external speed to PTYS register 2021-03-17 17:06:17 +01:00
spectrum_fid.c
…
spectrum_flow.c
…
spectrum_flower.c
…
spectrum_ipip.c mlxsw: spectrum: Fix ECN marking in tunnel decapsulation 2021-04-14 08:42:07 +02:00
spectrum_ipip.h
…
spectrum_kvdl.c
…
spectrum_matchall.c
…
spectrum_mr.c mlxsw: spectrum_mr: Update egress RIF list before route's action 2021-05-11 14:47:34 +02:00
spectrum_mr.h
…
spectrum_mr_tcam.c
…
spectrum_mr_tcam.h
…
spectrum_nve.c mlxsw: spectrum: Fix ECN marking in tunnel decapsulation 2021-04-14 08:42:07 +02:00
spectrum_nve.h
…
spectrum_nve_vxlan.c
…
spectrum_policer.c
…
spectrum_ptp.c mlxsw: Verify the accessed index doesn't exceed the array length 2021-12-01 09:19:05 +01:00
spectrum_ptp.h
…
spectrum_qdisc.c
…
spectrum_router.c mlxsw: Verify the accessed index doesn't exceed the array length 2021-12-01 09:19:05 +01:00
spectrum_router.h
…
spectrum_span.c mlxsw: spectrum_span: Do not overwrite policer configuration 2021-02-07 15:37:12 +01:00
spectrum_span.h mlxsw: spectrum_span: Do not overwrite policer configuration 2021-02-07 15:37:12 +01:00
spectrum_switchdev.c mlxsw: Verify the accessed index doesn't exceed the array length 2021-12-01 09:19:05 +01:00
spectrum_switchdev.h
…
spectrum_trap.c
…
spectrum_trap.h
…
switchib.c
…
switchx2.c mlxsw: spectrum_ethtool: Add an external speed to PTYS register 2021-03-17 17:06:17 +01:00
trap.h
…
txheader.h
…