mirror of
git://git.yoctoproject.org/linux-yocto.git
synced 2026-01-27 12:47:24 +01:00
firewire fixes for 6.18-rc3
A small collection of FireWire fixes. This includes collections to sparse and API documentation. -----BEGIN PGP SIGNATURE----- iHUEABYKAB0WIQQE66IEYNDXNBPeGKSsLtaWM8LwEwUCaPyn7gAKCRCsLtaWM8Lw E1n9AQDZQBuY7/WiMS6GoIfCpyqwnpLG7xaMIofoLzrBD2DR/AD+PD683h4bjO5P Th4pjtrlUtgmnvchmtCzZYaQUvMbAwk= =IipF -----END PGP SIGNATURE----- Merge tag 'firewire-fixes-6.18-rc3' of git://git.kernel.org/pub/scm/linux/kernel/git/ieee1394/linux1394 Pull firewire fixes from Takashi Sakamoto: "A small collection of FireWire fixes. This includes corrections to sparse and API documentation" * tag 'firewire-fixes-6.18-rc3' of git://git.kernel.org/pub/scm/linux/kernel/git/ieee1394/linux1394: firewire: init_ohci1394_dma: add missing function parameter documentation firewire: core: fix __must_hold() annotation
This commit is contained in:
commit
818444a61b
|
|
@ -269,7 +269,7 @@ static void fw_fill_request(struct fw_packet *packet, int tcode, int tlabel,
|
|||
}
|
||||
|
||||
static int allocate_tlabel(struct fw_card *card)
|
||||
__must_hold(&card->transactions_lock)
|
||||
__must_hold(&card->transactions.lock)
|
||||
{
|
||||
int tlabel;
|
||||
|
||||
|
|
|
|||
|
|
@ -167,6 +167,7 @@ static inline void __init init_ohci1394_initialize(struct ohci *ohci)
|
|||
|
||||
/**
|
||||
* init_ohci1394_wait_for_busresets - wait until bus resets are completed
|
||||
* @ohci: Pointer to the OHCI-1394 controller structure
|
||||
*
|
||||
* OHCI1394 initialization itself and any device going on- or offline
|
||||
* and any cable issue cause a IEEE1394 bus reset. The OHCI1394 spec
|
||||
|
|
@ -189,6 +190,8 @@ static inline void __init init_ohci1394_wait_for_busresets(struct ohci *ohci)
|
|||
|
||||
/**
|
||||
* init_ohci1394_enable_physical_dma - Enable physical DMA for remote debugging
|
||||
* @ohci: Pointer to the OHCI-1394 controller structure
|
||||
*
|
||||
* This enables remote DMA access over IEEE1394 from every host for the low
|
||||
* 4GB of address space. DMA accesses above 4GB are not available currently.
|
||||
*/
|
||||
|
|
@ -201,6 +204,8 @@ static inline void __init init_ohci1394_enable_physical_dma(struct ohci *ohci)
|
|||
|
||||
/**
|
||||
* init_ohci1394_reset_and_init_dma - init controller and enable DMA
|
||||
* @ohci: Pointer to the OHCI-1394 controller structure
|
||||
*
|
||||
* This initializes the given controller and enables physical DMA engine in it.
|
||||
*/
|
||||
static inline void __init init_ohci1394_reset_and_init_dma(struct ohci *ohci)
|
||||
|
|
@ -230,6 +235,10 @@ static inline void __init init_ohci1394_reset_and_init_dma(struct ohci *ohci)
|
|||
|
||||
/**
|
||||
* init_ohci1394_controller - Map the registers of the controller and init DMA
|
||||
* @num: PCI bus number
|
||||
* @slot: PCI device number
|
||||
* @func: PCI function number
|
||||
*
|
||||
* This maps the registers of the specified controller and initializes it
|
||||
*/
|
||||
static inline void __init init_ohci1394_controller(int num, int slot, int func)
|
||||
|
|
@ -284,6 +293,7 @@ void __init init_ohci1394_dma_on_all_controllers(void)
|
|||
|
||||
/**
|
||||
* setup_ohci1394_dma - enables early OHCI1394 DMA initialization
|
||||
* @opt: Kernel command line parameter string
|
||||
*/
|
||||
static int __init setup_ohci1394_dma(char *opt)
|
||||
{
|
||||
|
|
|
|||
Loading…
Reference in New Issue
Block a user