]> git.baikalelectronics.ru Git - kernel.git/commit
mfd: Correct the twl4030-power warning print during script loading
authorLesly A M <leslyam@ti.com>
Thu, 14 Apr 2011 12:27:50 +0000 (17:57 +0530)
committerSamuel Ortiz <sameo@linux.intel.com>
Thu, 26 May 2011 17:45:22 +0000 (19:45 +0200)
commitd1b8488e05f7556e728381239f75b1018b56fd80
treee604785f662339e2438ed3120b869aa32ab32b14
parent5463e20090eb4f52092836c78b34e2d5089e69b2
mfd: Correct the twl4030-power warning print during script loading

Correcting the if condition check for printing the warning,
if wakeup script is not updated before updating the sleep script.

Since the flag 'order' is set to '1' while updating the wakeup script
for P1P2, the condition checking for printing the warning should be
if(!order) (ie: print the warning if wakeup script is not updated before
updating the sleep script)

Signed-off-by: Lesly A M <leslyam@ti.com>
Cc: Nishanth Menon <nm@ti.com>
Cc: David Derrick <dderrick@ti.com>
Signed-off-by: Samuel Ortiz <sameo@linux.intel.com>
drivers/mfd/twl4030-power.c