]> www.infradead.org Git - users/willy/pagecache.git/commit
bluetooth: btusb: Initialize .owner field of force_poll_sync_fops
authorSalah Triki <salah.triki@gmail.com>
Fri, 21 Feb 2025 21:32:59 +0000 (22:32 +0100)
committerLuiz Augusto von Dentz <luiz.von.dentz@intel.com>
Thu, 27 Feb 2025 21:50:05 +0000 (16:50 -0500)
commitcbf85b9cb80bec6345ffe0368dfff98386f4714f
tree990c2da7be9a6e728eb9d0b669f9b35391ad9571
parent1e15510b71c99c6e49134d756df91069f7d18141
bluetooth: btusb: Initialize .owner field of force_poll_sync_fops

Initialize .owner field of force_poll_sync_fops to THIS_MODULE in order to
prevent btusb from being unloaded while its operations are in use.

Fixes: 800fe5ec302e ("Bluetooth: btusb: Add support for queuing during polling interval")
Signed-off-by: Salah Triki <salah.triki@gmail.com>
Signed-off-by: Luiz Augusto von Dentz <luiz.von.dentz@intel.com>
drivers/bluetooth/btusb.c