]> git.baikalelectronics.ru Git - kernel.git/commit
ARM: pxa: Add dummy backlight power supply on Mitac Mio A701
authorThierry Reding <thierry.reding@gmail.com>
Fri, 20 Dec 2013 09:46:52 +0000 (10:46 +0100)
committerHaojian Zhuang <haojian.zhuang@gmail.com>
Tue, 11 Feb 2014 03:33:09 +0000 (11:33 +0800)
commite627d9d9ea5edc9ed5bdf9ce586820aa882e4726
tree580a9e35a67b95342bf93482cbdf36b3cca89c3a
parented4c0e42e851d5178cd0d1dc05de408325576e1c
ARM: pxa: Add dummy backlight power supply on Mitac Mio A701

Recent changes to the pwm-backlight driver have made the power supply
mandatory. There is code in the regulator core to deal with situations
where no regulator is specified and provide a dummy, but that works on
DT-based boards only.

The situation can be remedied by adding a dummy regulator during board
initialization.

Tested-by: Robert Jarzmik <robert.jarzmik@free.fr>
Signed-off-by: Thierry Reding <thierry.reding@gmail.com>
Signed-off-by: Haojian Zhuang <haojian.zhuang@gmail.com>
arch/arm/mach-pxa/mioa701.c