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

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

Signed-off-by: Wei Yongjun <yongjun_wei@trendmicro.com.cn>
Acked-By: Marc Dietrich <marvin24@gmx.de>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
This commit is contained in:
Wei Yongjun 2013-03-16 22:51:25 +08:00 committed by Greg Kroah-Hartman
parent b4446865bc
commit 815fb010fc
1 changed files with 4 additions and 4 deletions

View File

@ -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;
}
/**