diff options
author | Umang Jain <[email protected]> | 2024-09-10 10:40:02 +0530 |
---|---|---|
committer | Greg Kroah-Hartman <[email protected]> | 2024-09-11 15:54:04 +0200 |
commit | fbaf8bf6cbc034cf9dbe6dbd4b4ff946835447d2 (patch) | |
tree | c99a9f1593890e1edf1ee7dd2d07ba29f2af1b07 /drivers/fpga/fpga-bridge.c | |
parent | 27056fef611c1e15b2fd6e8785850df562410d58 (diff) |
staging: vchiq_core: Simplify vchiq_bulk_transfer()
Factor out core logic for preparing bulk data transfer(mutex locking,
waits on vchiq_bulk_queue wait-queue, initialising the bulk transfer)
out of the vchiq_bulk_transfer(). This simplifies the existing
vchiq_bulk_transfer() and makes it more readable since all the core
logic is handled in vchiq_bulk_xfer_queue_msg_interruptible(). It
will also help us to refactor vchiq_bulk_transfer() easily for different
vchiq bulk transfer modes.
No functional changes intended in this patch.
Signed-off-by: Umang Jain <[email protected]>
Tested-by: Stefan Wahren <[email protected]>
Link: https://lore.kernel.org/r/[email protected]
Signed-off-by: Greg Kroah-Hartman <[email protected]>
Diffstat (limited to 'drivers/fpga/fpga-bridge.c')
0 files changed, 0 insertions, 0 deletions