summaryrefslogtreecommitdiff
path: root/arch/arm/mach-omap2/dpll3xxx.c
diff options
context:
space:
mode:
authorPaul Walmsley <paul@pwsan.com>2013-04-01 02:22:22 (GMT)
committerPaul Walmsley <paul@pwsan.com>2013-04-01 02:22:22 (GMT)
commitbd70f6eb3e78b7c9c6bec2cf5be6423dd2b37f6f (patch)
treebd17d657905a7ea1a76c6b0874c95814ff8054cb /arch/arm/mach-omap2/dpll3xxx.c
parent4280943b6bc81357eb61c3e1111d2d83ec2ef03d (diff)
downloadlinux-fsl-qoriq-bd70f6eb3e78b7c9c6bec2cf5be6423dd2b37f6f.tar.xz
ARM: OMAP2+: powerdomain: avoid testing whether an unsigned char is less than 0
_pwrdm_save_clkdm_state_and_activate() tried to test one of its unsigned arguments to determine whether it was less than zero. Fix by moving the error test to the caller. Reported-by: Chen Gang <gang.chen@asianux.com> Signed-off-by: Paul Walmsley <paul@pwsan.com>
Diffstat (limited to 'arch/arm/mach-omap2/dpll3xxx.c')
0 files changed, 0 insertions, 0 deletions