diff options
| author | Abhijeet Dharmapurikar <adharmap@codeaurora.org> | 2016-08-23 11:54:12 -0700 |
|---|---|---|
| committer | Abhijeet Dharmapurikar <adharmap@codeaurora.org> | 2016-08-23 12:04:13 -0700 |
| commit | aecb04a1c3eb82994feb9a1ef43256075f19985c (patch) | |
| tree | ecd1e6d024576a44f8615b48ce61ba7106ab8c82 /scripts/gcc-wrapper.py | |
| parent | c605e110ab18604981481a7b502da54640b620bc (diff) | |
smb138x: fix WD bite
Commit 85635da429d67f9fdf1e ("qcom-charger: smb138x: fix buck damage on
v1.1 hardware") introduced wa_flags as the first member
in the struct. However there are implict assumptions in the driver that
the first member is the library structure. This causes memory corruption
and an eventual watch dog bite reset.
Fix it by ensuring that the library struct is explicitly initialized
from the parent struct.
CRs-Fixed: 1055113
Change-Id: I38474a228ec7b245dc330b4a37847c9f1bf29c2a
Signed-off-by: Abhijeet Dharmapurikar <adharmap@codeaurora.org>
Diffstat (limited to 'scripts/gcc-wrapper.py')
0 files changed, 0 insertions, 0 deletions
