Commit Graph

5 Commits

Author SHA1 Message Date
Will McVicker
1050f084eb GKI: esoc: add exports and resolve circular dependencies
ESOC is only used in kona, but is a dependency for sysmon-qmi which is
included in lito.

Signed-off-by: Will McVicker <willmcvicker@google.com>
Bug: 143541374
Test: compile, boot sm8250 verify list of probed devices
Test: check kernel log for proper esoc loading
Change-Id: I569944dc22082152bfed94d7bce027a81d5f4d4a
2019-11-05 16:04:08 -08:00
Rishabh Bhatnagar
c803632b84 esoc: Add mdm error-fatal notifier hook
Add an error-fatal notifier hook to the list of other client hooks,
which would notify the clients about modem's unexpected reset or
error-fatal.

Change-Id: I185c4b05795b7ffb0768c240f25cc487f3d67b63
Signed-off-by: Rishabh Bhatnagar <rishabhb@codeaurora.org>
2019-06-21 10:01:34 -07:00
Raghavendra Rao Ananta
71e8e64193 esoc: Call the PON and POFF hooks with bit-masked flags
Currently, the esoc driver calls the client's power-on and power-off
hooks with a boolean flag indicating if the external modem is in
error-fatal or not. However, this information itself isn't sufficient
for the clients. The clients also may rely on the actions such as, if
the driver would be shutting down the modem in the sequence or not.
Hence, convert the boolean flag to an integer based flag that carries
the bitmask of all such information.

Convert the esoc callbacks for the MHI driver as it's affected by this
API change.

Change-Id: I376e85ba499574a4c9e8cf3e845ab6311afe52d2
Signed-off-by: Raghavendra Rao Ananta <rananta@codeaurora.org>
2019-06-21 10:01:06 -07:00
Rishabh Bhatnagar
e9a05bb4d3 spdx: Modify spdx tag from GPL-2.0 to GPL-2.0-only
Modify spdx tag for all CAF authored files for Kona.

Change-Id: I9308c7189412b1e428a7f67ded0dc076b0e38254
Signed-off-by: Rishabh Bhatnagar <rishabhb@codeaurora.org>
2018-12-10 11:09:45 -08:00
Rishabh Bhatnagar
f2e94fd87b esoc: Add snapshot of esoc driver
This is a snapshot of the esoc driver as of msm-4.14 commit
<55e5efd553c10ef>. (Merge "nl80211: Fix external_auth check
for offloaded authentication")

Change-Id: Id47bcba3a5342986c3496707eb1e7cec03f19e3b
Signed-off-by: Rishabh Bhatnagar <rishabhb@codeaurora.org>
2018-06-27 11:37:18 -07:00