commit | 243835550c40d5018b0a51afc62cd7e6fe1d02fe | [log] [tgz] |
---|---|---|
author | Zhou Song <zhous@codeaurora.org> | Wed Jan 13 16:28:36 2021 +0800 |
committer | Zhou Song <zhous@codeaurora.org> | Wed Jan 13 17:45:39 2021 +0800 |
tree | ff088f6a40240df9d6c582bb7e29a6e37616012d | |
parent | 8d7aa691f2f8cf739f5ec04f71a718c92c419d92 [diff] |
hal: reset vbat device if spkr protection starts failed Device reference cnt of vbat device can be decreased to 0 if speaker protection starts failed, causing disabling of vbat device missed. Reset the path at the same place when it is enabled. Change-Id: I6c57ed07b13a605744fc67653550c19dd8cf958b