Colin Ian King 912ed8afd6 mei: fix incorrect logical operator in if statement
The current expression using the || operator is always true because
dev->dev_state cannot be equal to two different values at the same time.
Fix this by replacing the || with &&.

Detected by CoverityScan, CID#1463042 ("Constant expression result")

Fixes: 8d52af6795c0 ("mei: speed up the power down flow")
Signed-off-by: Colin Ian King <colin.king@canonical.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
2018-01-02 17:09:29 +01:00
..
2017-11-15 18:21:04 -08:00
2017-12-01 08:40:17 -05:00
2018-01-02 14:46:35 +01:00
2017-12-18 15:59:18 +01:00
2017-08-28 16:55:48 +02:00
2017-11-17 16:10:01 -08:00
2017-11-28 16:33:03 +01:00
2017-11-13 20:53:28 -08:00