diff options
author | Abhishek Aggarwal <aaggarwal@nvidia.com> | 2010-08-06 12:57:15 +0530 |
---|---|---|
committer | Yu-Huan Hsu <yhsu@nvidia.com> | 2010-08-09 20:05:35 -0700 |
commit | bd02041a4edceef0baf2d0904c082b8174c898c2 (patch) | |
tree | 32227b4f915ebb3988cc966b7613ff9be6bc10ac /arch/arm/mach-tegra/odm_kit | |
parent | 98d4ea4724a713a8f612fe42bdfd65b0f2a3adcd (diff) |
[arm tegra] power: proper error handling in battery probe
If the open of tegra odm battery driver fails, we are failing the probe
of tegra-battery without unregistering the tegra power supplies which
causes errors during boot.
Fixed this by moving the call to open tegra odm battery driver and its
failure check before we register tegra power supplies.
Bug 715515
Change-Id: Ie11c860fa692b3b707ce79796e2713366107bdec
Reviewed-on: http://git-master/r/4839
Tested-by: Abhishek Aggarwal <aaggarwal@nvidia.com>
Reviewed-by: Hanumanth Venkateswa Moganty <vmoganty@nvidia.com>
Reviewed-by: Phillip Smith <psmith@nvidia.com>
Reviewed-by: Yu-Huan Hsu <yhsu@nvidia.com>
Diffstat (limited to 'arch/arm/mach-tegra/odm_kit')
0 files changed, 0 insertions, 0 deletions