diff options
Diffstat (limited to 'drivers/firewire')
-rw-r--r-- | drivers/firewire/ohci.c | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/drivers/firewire/ohci.c b/drivers/firewire/ohci.c index 3b6f3429fb4a..a818dc834690 100644 --- a/drivers/firewire/ohci.c +++ b/drivers/firewire/ohci.c | |||
@@ -513,6 +513,12 @@ static inline void flush_writes(const struct fw_ohci *ohci) | |||
513 | reg_read(ohci, OHCI1394_Version); | 513 | reg_read(ohci, OHCI1394_Version); |
514 | } | 514 | } |
515 | 515 | ||
516 | /* | ||
517 | * Beware! read_phy_reg(), write_phy_reg(), update_phy_reg(), and | ||
518 | * read_paged_phy_reg() require the caller to hold ohci->phy_reg_mutex. | ||
519 | * In other words, only use ohci_read_phy_reg() and ohci_update_phy_reg() | ||
520 | * directly. Exceptions are intrinsically serialized contexts like pci_probe. | ||
521 | */ | ||
516 | static int read_phy_reg(struct fw_ohci *ohci, int addr) | 522 | static int read_phy_reg(struct fw_ohci *ohci, int addr) |
517 | { | 523 | { |
518 | u32 val; | 524 | u32 val; |