diff options
author | Bart Van Assche <bart.vanassche@wdc.com> | 2017-11-04 00:20:55 +0100 |
---|---|---|
committer | Doug Ledford <dledford@redhat.com> | 2017-11-13 21:25:16 +0100 |
commit | 8b6dc529ea62bc021e0cdd5b0d4342ba470b5c92 (patch) | |
tree | c016887acce931d9d9fb72430e8bef15dc73f0d1 /drivers/media | |
parent | IB/srpt: Introduce srpt_disconnect_ch_sync() (diff) | |
download | linux-8b6dc529ea62bc021e0cdd5b0d4342ba470b5c92.tar.xz linux-8b6dc529ea62bc021e0cdd5b0d4342ba470b5c92.zip |
IB/srpt: Wait until channel release has finished during module unload
Introduce the helper function srpt_set_enabled(). Protect
sport->enabled changes with sdev->mutex. Makes configfs writes
into 'enabled' wait until all channel resources have been freed.
Wait until channel release has finished during kernel module
unload.
Signed-off-by: Bart Van Assche <bart.vanassche@wdc.com>
Signed-off-by: Doug Ledford <dledford@redhat.com>
Diffstat (limited to 'drivers/media')
0 files changed, 0 insertions, 0 deletions