-
由 Colin Ian King 提交于
The "or" condition (clk_freq != TRF7970A_27MHZ_CLOCK_FREQUENCY) || (clk_freq != TRF7970A_13MHZ_CLOCK_FREQUE) will always be true because clk_freq cannot be equal to two different values at the same time. Use the && operator instead of || to fix this. Detected by CoverityScan, CID#1430468 ("Constant expression result") Fixes: 837eb4d2 ("NFC: trf7970a: add device tree option for 27MHz clock") Signed-off-by: NColin Ian King <colin.king@canonical.com> Acked-by: NGeoff Lansberry <geoff@kuvee.com> Signed-off-by: NSamuel Ortiz <sameo@linux.intel.com>e1038535