commit | 7232d6b661c4abd418876694ee7445cf651c685d | [log] [tgz] |
---|---|---|
author | Harshal Ahire <hahire@codeaurora.org> | Thu Feb 25 15:05:52 2021 +0530 |
committer | Gerrit - the friendly Code Review server <code-review@localhost> | Wed Mar 03 00:05:00 2021 -0800 |
tree | 2e52d051ba0ee625709df5229d16ae254ec12488 | |
parent | 59bd137cbae2893a1298ef0eabf542e952ce9c28 [diff] |
hal: Reset the backend when LPI mode is changed due to battery status change. When SVA state is in buffering and if remove the power cable, it should change the LPI mode from NLPI to LPI.For that we have to reset the backend, so that when next detection is triggered it will have changed backend and both FE and BE will be in LPI mode. Handle this usecase scenario, by resetting the backend during hw_session start. Change-Id: I00bc25913cdc7c48864a99366e07b3d0368dd5a7