commit | 2571923c727b67a023406f613bf3fa826d462edb | [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 | 22b446858c2994c705b1c0c1c21da2e81aa9dc56 [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>