commit | eae745379d4c6453d8f8888a8003a1c1ebcfbbd3 | [log] [tgz] |
---|---|---|
author | Ćukasz Majewski <l.majewski@samsung.com> | Mon Feb 24 13:33:08 2014 +0100 |
committer | Tom Rini <trini@ti.com> | Mon Feb 24 10:56:33 2014 -0500 |
tree | d50ee5458a84172dd4eb82cbca0e305e98ccc169 | |
parent | 6445262ca8d0400def05c4ef8e2b8e8424929599 [diff] |
power: fix: Do not execute pmic command when not all necessary parameters are passed 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@samsung.com>