mirror of
https://github.com/BobTheBlinker/android_kernel_motorola_sm6375.git
synced 2026-10-11 07:03:09 -04:00
msm: ipa3: fix the unmap logic
Ethenet driver npn phy address was same for UL/DL pipes, currently this address was unmapped during DL pipe disconnect where UL pipe still avtive, move the logic to do the unmamp to the last pipe disconnect. Signed-off-by: Skylar Chang <chiaweic@codeaurora.org>
This commit is contained in:
parent
fb1282f82f
commit
a2ea5ff32c
1 changed files with 2 additions and 2 deletions
|
|
@ -603,7 +603,7 @@ int ipa3_tear_down_uc_offload_pipes(int ipa_ep_idx_ul,
|
|||
}
|
||||
|
||||
/* unmap the DL pipe */
|
||||
result = ipa3_smmu_map_uc_ntn_pipes(¶ms->dl, false, true);
|
||||
result = ipa3_smmu_map_uc_ntn_pipes(¶ms->dl, false, false);
|
||||
if (result) {
|
||||
IPAERR("failed to unmap SMMU for DL %d\n", result);
|
||||
goto fail;
|
||||
|
|
@ -624,7 +624,7 @@ int ipa3_tear_down_uc_offload_pipes(int ipa_ep_idx_ul,
|
|||
}
|
||||
|
||||
/* unmap the UL pipe */
|
||||
result = ipa3_smmu_map_uc_ntn_pipes(¶ms->ul, false, false);
|
||||
result = ipa3_smmu_map_uc_ntn_pipes(¶ms->ul, false, true);
|
||||
if (result) {
|
||||
IPAERR("failed to unmap SMMU for UL %d\n", result);
|
||||
goto fail;
|
||||
|
|
|
|||
Loading…
Reference in a new issue