]> git.ipfire.org Git - thirdparty/kernel/linux.git/commitdiff
firewire: ohci: correct code comments about bus_reset tasklet
authorTakashi Sakamoto <o-takashi@sakamocchi.jp>
Sun, 8 Jun 2025 23:38:06 +0000 (08:38 +0900)
committerTakashi Sakamoto <o-takashi@sakamocchi.jp>
Sun, 8 Jun 2025 23:44:51 +0000 (08:44 +0900)
The tasklet for bus reset event has been replaced with work item, while
some code comments still address to the tasklet.

This commit corrects them.

Fixes: 2d7a36e23300 ("firewire: ohci: Move code from the bus reset tasklet into a workqueue")
Link: https://lore.kernel.org/r/20250608233808.202355-1-o-takashi@sakamocchi.jp
Signed-off-by: Takashi Sakamoto <o-takashi@sakamocchi.jp>
drivers/firewire/ohci.c

index edaedd156a6da12377a205eba2662c3f9d8e1e4c..27e3e998e6fc76e580863935df9c54a11be18934 100644 (file)
@@ -2528,7 +2528,7 @@ static int ohci_enable(struct fw_card *card,
         * They shouldn't do that in this initial case where the link
         * isn't enabled.  This means we have to use the same
         * workaround here, setting the bus header to 0 and then write
-        * the right values in the bus reset tasklet.
+        * the right values in the bus reset work item.
         */
 
        if (config_rom) {
@@ -2617,7 +2617,7 @@ static int ohci_set_config_rom(struct fw_card *card,
         * during the atomic update, even on little endian
         * architectures.  The workaround we use is to put a 0 in the
         * header quadlet; 0 is endian agnostic and means that the
-        * config rom isn't ready yet.  In the bus reset tasklet we
+        * config rom isn't ready yet.  In the bus reset work item we
         * then set up the real values for the two registers.
         *
         * We use ohci->lock to avoid racing with the code that sets
@@ -2659,7 +2659,7 @@ static int ohci_set_config_rom(struct fw_card *card,
        /*
         * Now initiate a bus reset to have the changes take
         * effect. We clean up the old config rom memory and DMA
-        * mappings in the bus reset tasklet, since the OHCI
+        * mappings in the bus reset work item, since the OHCI
         * controller could need to access it before the bus reset
         * takes effect.
         */