ARM: OMAP3: vc: fix 'or' always true warning
authorFrans Klaver <fransklaver@gmail.com>
Tue, 1 Sep 2015 20:59:25 +0000 (13:59 -0700)
committerTony Lindgren <tony@atomide.com>
Tue, 1 Sep 2015 20:59:25 +0000 (13:59 -0700)
commit05f4f1abc274ac7e8e83424d0cef2d842db91815
treee9b7befcd98129c5fbca49eebcb57b555cd6c7a2
parent874b300a6a0bfe97225ed1f8648fa92238e4d9e9
ARM: OMAP3: vc: fix 'or' always true warning

Fix the warning:
arch/arm/mach-omap2/vc.c:302:47: warning: logical ‘or’ of collectively exhaustive tests is always true [-Wlogical-op]

As we're toggling both CLKREQ and OFFMODE, we should also be checking
OFFMODE.

Signed-off-by: Frans Klaver <fransklaver@gmail.com>
Signed-off-by: Tony Lindgren <tony@atomide.com>
arch/arm/mach-omap2/vc.c