[U-Boot] power: fix: Do not execute pmic command when not all necessary parameters are passed

Tom Rini trini at ti.com
Tue Feb 25 14:58:11 CET 2014


On Mon, Feb 24, 2014 at 01:33:08PM +0100, Łukasz Majewski wrote:

> Lack of this check resulted in a data abort when CPU tried to execute the
> following command (without further mandatory input): 'pmic MAX77686_PMIC'.
> 
> Only the 'pmic list' command requires one passed parameter.
> Other require at least two valid parameters for correct operation.
> 
> Signed-off-by: Lukasz Majewski <l.majewski at samsung.com>

Applied to u-boot/master, thanks!

-- 
Tom
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 836 bytes
Desc: Digital signature
URL: <http://lists.denx.de/pipermail/u-boot/attachments/20140225/71a6d8aa/attachment.pgp>


More information about the U-Boot mailing list