Skip to content

Commit 088eb0f

Browse files
committed
firewire: ohci: correct code comments about bus_reset tasklet
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: 2d7a36e ("firewire: ohci: Move code from the bus reset tasklet into a workqueue") Link: https://lore.kernel.org/r/[email protected] Signed-off-by: Takashi Sakamoto <[email protected]>
1 parent 19272b3 commit 088eb0f

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

drivers/firewire/ohci.c

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -2528,7 +2528,7 @@ static int ohci_enable(struct fw_card *card,
25282528
* They shouldn't do that in this initial case where the link
25292529
* isn't enabled. This means we have to use the same
25302530
* workaround here, setting the bus header to 0 and then write
2531-
* the right values in the bus reset tasklet.
2531+
* the right values in the bus reset work item.
25322532
*/
25332533

25342534
if (config_rom) {
@@ -2617,7 +2617,7 @@ static int ohci_set_config_rom(struct fw_card *card,
26172617
* during the atomic update, even on little endian
26182618
* architectures. The workaround we use is to put a 0 in the
26192619
* header quadlet; 0 is endian agnostic and means that the
2620-
* config rom isn't ready yet. In the bus reset tasklet we
2620+
* config rom isn't ready yet. In the bus reset work item we
26212621
* then set up the real values for the two registers.
26222622
*
26232623
* 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,
26592659
/*
26602660
* Now initiate a bus reset to have the changes take
26612661
* effect. We clean up the old config rom memory and DMA
2662-
* mappings in the bus reset tasklet, since the OHCI
2662+
* mappings in the bus reset work item, since the OHCI
26632663
* controller could need to access it before the bus reset
26642664
* takes effect.
26652665
*/

0 commit comments

Comments
 (0)