Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit c2745c4c authored by Jinesh K. Jayakumar's avatar Jinesh K. Jayakumar Committed by Gerrit - the friendly Code Review server
Browse files

net: aquantia: Fix for missing atl_unlock_fw()



Fix atl_update_thermal_flag() to not return from the function without
calling atl_unlock_fw() when thermal monitoring is not supported by
the firmware.

Change-Id: I39fec668f75a67187772f8cc5df08f183d2b6a0f
Signed-off-by: default avatarJinesh K. Jayakumar <jineshk@codeaurora.org>
parent 35fd0366
Loading
Loading
Loading
Loading
+1 −1
Original line number Diff line number Diff line
@@ -709,7 +709,7 @@ int atl_update_thermal_flag(struct atl_hw *hw, int bit, bool val)
		else
			if (!(hw->mcp.caps_high & atl_fw2_set_thermal)) {
				atl_dev_err("Thermal monitoring not supported by firmware\n");
				return -EINVAL;
				ret = -EINVAL;
			}
		break;