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

Commit 815fb010 authored by Wei Yongjun's avatar Wei Yongjun Committed by Greg Kroah-Hartman
Browse files

staging: nvec: fix the '&&' vs '&' typo in nvec_toggle_global_events()



Fix the '&&' vs '&' typo.

Signed-off-by: default avatarWei Yongjun <yongjun_wei@trendmicro.com.cn>
Acked-By: default avatarMarc Dietrich <marvin24@gmx.de>
Signed-off-by: default avatarGreg Kroah-Hartman <gregkh@linuxfoundation.org>
parent b4446865
Loading
Loading
Loading
Loading
+4 −4
Original line number Diff line number Diff line
@@ -352,10 +352,10 @@ static void nvec_toggle_global_events(struct nvec_chip *nvec, bool state)
 */
static void nvec_event_mask(char *ev, u32 mask)
{
	ev[3] = mask >> 16 && 0xff;
	ev[4] = mask >> 24 && 0xff;
	ev[5] = mask >> 0  && 0xff;
	ev[6] = mask >> 8  && 0xff;
	ev[3] = mask >> 16 & 0xff;
	ev[4] = mask >> 24 & 0xff;
	ev[5] = mask >> 0  & 0xff;
	ev[6] = mask >> 8  & 0xff;
}

/**