diff options
| author | Ashay Jaiswal <ashayj@codeaurora.org> | 2017-05-15 17:15:29 +0530 |
|---|---|---|
| committer | Ashay Jaiswal <ashayj@codeaurora.org> | 2017-05-24 17:09:50 +0530 |
| commit | d42de94f3955f5b1072399401b37ad314beb520e (patch) | |
| tree | 88a3cf3ee57838cbd53988d73d622a8b0f2832e2 /net/unix/af_unix.c | |
| parent | 60be71604a84d2e047215cb702d6324379a353bb (diff) | |
qpnp-smb2: Fix QC_PULSE_COUNT reading logic
QC_PULSE_COUNT register offset differs between PMI8998 and
PM660. Use common function "smblib_get_pulse_cnt" to read
the pulse count instead of directly reading the register.
While at it, update the "smblib_get_pulse_cnt" function
to return software based pulse count if HW INOV is disabled.
Change-Id: Iab935b352dd75365d1f9862d7a7986cd1c476f66
Signed-off-by: Ashay Jaiswal <ashayj@codeaurora.org>
Diffstat (limited to 'net/unix/af_unix.c')
0 files changed, 0 insertions, 0 deletions
