net: ipa: fix two comments
authorAlex Elder <elder@linaro.org>
Mon, 28 Sep 2020 23:04:46 +0000 (18:04 -0500)
committerDavid S. Miller <davem@davemloft.net>
Tue, 29 Sep 2020 01:34:56 +0000 (18:34 -0700)
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: Alex Elder <elder@linaro.org>
Signed-off-by: David S. Miller <davem@davemloft.net>
drivers/net/ipa/ipa_reg.h
drivers/net/ipa/ipa_uc.c

index eb4e39f..e542598 100644 (file)
@@ -426,7 +426,7 @@ enum ipa_cs_offload_en {
        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 {
        IPA_BYPASS_AGGR         = 0,
        IPA_ENABLE_AGGR         = 1,
index 1a0b04e..b382d47 100644 (file)
@@ -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
         * 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.
         */
        switch (shared->response) {