Skip to content
Commit e7bda76f authored by Alexey Tulia's avatar Alexey Tulia Committed by Greg Kroah-Hartman
Browse files

staging: vt6656: fix definitions of DEVICE_FLAGS_* flags



test_bit and set_bit take the bit number to operate on, rather than a
mask. This patch fixes the DEVICE_FLAGS_* definitions so that they represent
the bit index in priv->flags as opposed to the mask returned by the
BIT macro.

Signed-off-by: default avatarAlexey Tulia <alexey.tulia@gmail.com>
Signed-off-by: default avatarGreg Kroah-Hartman <gregkh@linuxfoundation.org>
parent f9f853af
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please to comment