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

Commit 206c0cba authored by Patrick Titiano's avatar Patrick Titiano Committed by Zhang Rui
Browse files

thermal: rcar-thermal: fix same mask applied twice



Mask is already applied preceding the if statement.
Remove the second mask.

Signed-off-by: default avatarPatrick Titiano <ptitiano@baylibre.com>
Acked-by: default avatarKuninori Morimoto <kuninori.morimoto.gx@renesas.com>
Signed-off-by: default avatarZhang Rui <rui.zhang@intel.com>
parent 5204f8c0
Loading
Loading
Loading
Loading
+1 −1
Original line number Diff line number Diff line
@@ -313,7 +313,7 @@ static u32 rcar_thermal_had_changed(struct rcar_thermal_priv *priv, u32 status)

	status = (status >> rcar_id_to_shift(priv)) & 0x3;

	if (status & 0x3) {
	if (status) {
		dev_dbg(dev, "thermal%d %s%s\n",
			priv->id,
			(status & 0x2) ? "Rising " : "",