diff options
author | 2011-01-12 16:59:23 -0800 | |
---|---|---|
committer | 2011-01-13 08:03:06 -0800 | |
commit | 26bbabc8e80b4b9e42aca13376a2c1609a880e21 (patch) | |
tree | 16c3b5823fd0a76d8c089eb90b345e6bc4b1c65b /lib/vsprintf.c | |
parent | drivers/video/backlight/l4f00242t03.c: full implement fb power states for this lcd (diff) | |
download | linux-rng-26bbabc8e80b4b9e42aca13376a2c1609a880e21.tar.xz linux-rng-26bbabc8e80b4b9e42aca13376a2c1609a880e21.zip |
drivers/video/backlight/l4f00242t03.c: prevent unbalanced calls to regulator enable/disable
Otherwise a double call to:
$ echo 4 > /sys/class/lcd/l4f00242t03/lcd_power
Will, the first power down the lcd and regulators correctly and the
second produce an unbalanced call to regulator disable.
Signed-off-by: Alberto Panizzo <maramaopercheseimorto@gmail.com>
Cc: Richard Purdie <rpurdie@rpsys.net>
Cc: Marek Vasut <marek.vasut@gmail.com>
Cc: Tejun Heo <tj@kernel.org>
Cc: Axel Lin <axel.lin@gmail.com>
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
Diffstat (limited to 'lib/vsprintf.c')
0 files changed, 0 insertions, 0 deletions