Commit 088eb0f1 authored by Takashi Sakamoto's avatar Takashi Sakamoto
Browse files

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: 2d7a36e2 ("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: default avatarTakashi Sakamoto <o-takashi@sakamocchi.jp>
parent 19272b37
Loading
Loading
Loading
Loading
+3 −3
Original line number Diff line number Diff line
@@ -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.
	 */