diff options
author | Michael Neuling <mikey@neuling.org> | 2015-07-07 11:01:17 +1000 |
---|---|---|
committer | Michael Ellerman <mpe@ellerman.id.au> | 2015-07-07 19:38:37 +1000 |
commit | 3f8dc44d88d3e86178eb9322c779c599f3745b21 (patch) | |
tree | c8b03ff06197cace0cf0457987083300b6d22c45 /sound/oss | |
parent | b32aadc1a8ed84afbe924cd2ced31cd6a2e67074 (diff) |
cxl: Fix refcounting in kernel API
Currently the kernel API AFU dev refcounting is done on context start and stop.
This patch moves this refcounting to context init and release, bringing it
inline with how the userspace API does it.
Without this we've seen the refcounting on the AFU get out of whack between the
user and kernel API usage. This causes the AFU structures to be freed when
they are actually still in use.
This fixes some kref warnings we've been seeing and spurious ErrIVTE IRQs.
Signed-off-by: Michael Neuling <mikey@neuling.org>
Acked-by: Ian Munsie <imunsie@au1.ibm.com>
Signed-off-by: Michael Ellerman <mpe@ellerman.id.au>
Diffstat (limited to 'sound/oss')
0 files changed, 0 insertions, 0 deletions