Skip to content
Commit 05f4f1ab authored by Frans Klaver's avatar Frans Klaver Committed by Tony Lindgren
Browse files

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: default avatarFrans Klaver <fransklaver@gmail.com>
Signed-off-by: default avatarTony Lindgren <tony@atomide.com>
parent 874b300a
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment