summaryrefslogtreecommitdiff
path: root/drivers/bluetooth/bcm203x.c
diff options
context:
space:
mode:
authorFelix Kuehling <Felix.Kuehling@amd.com>2017-10-27 19:35:23 -0400
committerOded Gabbay <oded.gabbay@gmail.com>2017-10-27 19:35:23 -0400
commitfe528c13acc764965929b7fcb5fadf2c15b57373 (patch)
tree60affa2a40e5b33961f787dbff83491320a0e414 /drivers/bluetooth/bcm203x.c
parentfdf0c8332a0309ac619e22e82b6014c77b2a3518 (diff)
drm/amdkfd: Fix event destruction with pending waiters
When an event with pending waiters is destroyed, those waiters may end up sleeping forever unless they are notified and woken up. Implement the notification by clearing the waiter->event pointer, which becomes invalid anyway, when the event is freed, and waking up the waiting tasks. Waiters on an event that's destroyed return failure. Signed-off-by: Felix Kuehling <Felix.Kuehling@amd.com> Acked-by: Oded Gabbay <oded.gabbay@gmail.com> Signed-off-by: Oded Gabbay <oded.gabbay@gmail.com>
Diffstat (limited to 'drivers/bluetooth/bcm203x.c')
0 files changed, 0 insertions, 0 deletions