net: ipa: head-of-line block registers are RX only
The INIT_HOL_BLOCK_EN and INIT_HOL_BLOCK_TIMER endpoint registers are only valid for RX endpoints. Have ipa_endpoint_modem_hol_block_clear_all() skip writing these registers for TX endpoints. Signed-off-by: Alex Elder <elder@linaro.org> Signed-off-by: David S. Miller <davem@davemloft.net>
This commit is contained in:
parent
21ddff5c95
commit
f8d34dfdf3
|
@ -686,7 +686,7 @@ void ipa_endpoint_modem_hol_block_clear_all(struct ipa *ipa)
|
|||
for (i = 0; i < IPA_ENDPOINT_MAX; i++) {
|
||||
struct ipa_endpoint *endpoint = &ipa->endpoint[i];
|
||||
|
||||
if (endpoint->ee_id != GSI_EE_MODEM)
|
||||
if (endpoint->toward_ipa || endpoint->ee_id != GSI_EE_MODEM)
|
||||
continue;
|
||||
|
||||
(void)ipa_endpoint_init_hol_block_timer(endpoint, 0);
|
||||
|
|
Loading…
Reference in New Issue