From e5f6028276679a51641b394fc71ed26074cba885 Mon Sep 17 00:00:00 2001 From: Felipe Balbi Date: Wed, 29 Feb 2012 23:33:47 +0100 Subject: [PATCH] --- yaml --- r: 296111 b: refs/heads/master c: d617369219f136dc6e7923f573d826c7afb4b269 h: refs/heads/master i: 296109: 9f6e0fb3ebe96abcfdf445a67f52b22fb3493aa5 296107: 29fa6785f59fc1ead3f465251e724b522792090b 296103: 089648501da2f4458b635d692f5dc819b93c04e0 296095: 126c900f9935d615bb4c2347a2c5aee97bda8a65 v: v3 --- [refs] | 2 +- trunk/arch/arm/mach-omap2/smartreflex.c | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/[refs] b/[refs] index d96c6c8f87a2..af3f42477512 100644 --- a/[refs] +++ b/[refs] @@ -1,2 +1,2 @@ --- -refs/heads/master: 4018bfebc6e704838f1a9f1d96110d9bd68ae0f9 +refs/heads/master: d617369219f136dc6e7923f573d826c7afb4b269 diff --git a/trunk/arch/arm/mach-omap2/smartreflex.c b/trunk/arch/arm/mach-omap2/smartreflex.c index f1db4c67c48a..daf8053741f7 100644 --- a/trunk/arch/arm/mach-omap2/smartreflex.c +++ b/trunk/arch/arm/mach-omap2/smartreflex.c @@ -886,7 +886,7 @@ static int omap_sr_autocomp_store(void *data, u64 val) } /* Sanity check */ - if (val && (val != 1)) { + if (val > 1) { pr_warning("%s: Invalid argument %lld\n", __func__, val); return -EINVAL; }