Commit 8e3938c
platform: mellanox: Fix order in exit flow
Fix exit flow order: call mlxplat_post_exit() after
mlxplat_i2c_main_exit() in order to unregister main i2c driver before
to "mlxplat" driver.
Fixes: 0170f61 ("platform: mellanox: Split initialization procedure")
Signed-off-by: Vadim Pasternak <vadimp@nvidia.com>
Reviewed-by: Michael Shych <michaelsh@nvidia.com>
Link: https://lore.kernel.org/r/20230813083735.39090-2-vadimp@nvidia.com
Signed-off-by: Hans de Goede <hdegoede@redhat.com>1 parent af8a6d2 commit 8e3938c
1 file changed
Lines changed: 1 addition & 2 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
6238 | 6238 | | |
6239 | 6239 | | |
6240 | 6240 | | |
6241 | | - | |
6242 | | - | |
6243 | 6241 | | |
6244 | 6242 | | |
6245 | 6243 | | |
| |||
6369 | 6367 | | |
6370 | 6368 | | |
6371 | 6369 | | |
| 6370 | + | |
6372 | 6371 | | |
6373 | 6372 | | |
6374 | 6373 | | |
| |||
0 commit comments