Commit bf8fd8d3 authored by Alex Elder's avatar Alex Elder Committed by David S. Miller

net: ipa: fix two comments

In ipa_uc_response_hdlr() a comment uses the wrong function name
when it describes where a clock reference is taken.  Fix this.

Also fix the comment in ipa_uc_response_hdlr() to correctly refer to
ipa_uc_setup(), which is where the clock reference described here is
taken.
Signed-off-by: default avatarAlex Elder <elder@linaro.org>
Signed-off-by: default avatarDavid S. Miller <davem@davemloft.net>
parent 84cec844
...@@ -426,7 +426,7 @@ enum ipa_cs_offload_en { ...@@ -426,7 +426,7 @@ enum ipa_cs_offload_en {
IPA_CS_RSVD IPA_CS_RSVD
}; };
/** enum ipa_aggr_en - aggregation type field in ENDP_INIT_AGGR_N */ /** enum ipa_aggr_en - aggregation enable field in ENDP_INIT_AGGR_N */
enum ipa_aggr_en { enum ipa_aggr_en {
IPA_BYPASS_AGGR = 0, IPA_BYPASS_AGGR = 0,
IPA_ENABLE_AGGR = 1, IPA_ENABLE_AGGR = 1,
......
...@@ -144,7 +144,7 @@ static void ipa_uc_response_hdlr(struct ipa *ipa, enum ipa_irq_id irq_id) ...@@ -144,7 +144,7 @@ static void ipa_uc_response_hdlr(struct ipa *ipa, enum ipa_irq_id irq_id)
* should only receive responses from the microcontroller when it has * should only receive responses from the microcontroller when it has
* sent it a request message. * sent it a request message.
* *
* We can drop the clock reference taken in ipa_uc_init() once we * We can drop the clock reference taken in ipa_uc_setup() once we
* know the microcontroller has finished its initialization. * know the microcontroller has finished its initialization.
*/ */
switch (shared->response) { switch (shared->response) {
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment