typec: tcpm: Fix incorrect 'and' operator
Currently, logical and is being used instead of *bitwise* and. Fix this by using a proper bitwise and operator. Addresses-Coverity-ID: 1468455 ("Logical vs. bitwise operator") Fixes: 64f7c494 ("typec: tcpm: Add support for sink PPS related messages") Signed-off-by:Gustavo A. R. Silva <gustavo@embeddedor.com> Acked-by:
Adam Thomson <Adam.Thomson.Opensource@diasemi.com> Signed-off-by:
Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Loading
Please register or sign in to comment