diff options
author | Doug Anderson <dianders@chromium.org> | 2014-05-01 11:50:16 -0700 |
---|---|---|
committer | Mark Brown <broonie@linaro.org> | 2014-05-02 09:33:30 -0700 |
commit | c122c5b68273cf0153d1dc510889728cf71e8ce3 (patch) | |
tree | 03fe6e24730378ef3f48b7e4552a4eb1739d11ad /include/linux/regulator/consumer.h | |
parent | ed11f1ead54bf0398a4303b51125622113c9c9e1 (diff) |
regulator: tps65090: Fix tps65090 crash on Tegra Dalmore
The patch (60e91b5 regulator: tps65090: Allow setting the overcurrent
wait time) introduced a crash on Tegra Dalmore. On Dalmore the device
tree doesn't have an entry for all of the FETs so it leaves tps_pdata
NULL in some cases. Add a check for NULL like the rest of the code
does.
Reported-by: Olof Johansson <olof@lixom.net>
Signed-off-by: Doug Anderson <dianders@chromium.org>
Tested-by: Stephen Warren <swarren@nvidia.com>
Signed-off-by: Mark Brown <broonie@linaro.org>
Diffstat (limited to 'include/linux/regulator/consumer.h')
0 files changed, 0 insertions, 0 deletions