mirror of
https://github.com/BobTheBlinker/android_kernel_motorola_sm6375.git
synced 2026-10-12 15:49:17 -04:00
msm: ipa: read channel stats from local variable
Fetch channel stats from local variable instead of reading it from MMIO, which would have resulted in Unclocked access. Change-Id: I9a4eedeaa28cd52fade6ab9bea7151b702ca46d0 Signed-off-by: Michael Adisumarta <madisuma@codeaurora.org>
This commit is contained in:
parent
03f3d1ac41
commit
4045331780
1 changed files with 2 additions and 2 deletions
|
|
@ -1545,9 +1545,9 @@ static ssize_t ipa3_read_ntn(struct file *file, char __user *ubuf,
|
|||
size_t count, loff_t *ppos)
|
||||
{
|
||||
#define TX_STATS(y) \
|
||||
ipa3_ctx->uc_ntn_ctx.ntn_uc_stats_mmio->tx_ch_stats[0].y
|
||||
stats.tx_ch_stats[0].y
|
||||
#define RX_STATS(y) \
|
||||
ipa3_ctx->uc_ntn_ctx.ntn_uc_stats_mmio->rx_ch_stats[0].y
|
||||
stats.rx_ch_stats[0].y
|
||||
|
||||
struct Ipa3HwStatsNTNInfoData_t stats;
|
||||
int nbytes;
|
||||
|
|
|
|||
Loading…
Reference in a new issue