| commit | 16b34e53eaadda6cbb1f0452fd99700c44db23be | [log] [tgz] | 
|---|---|---|
| author | Lee Jones <lee.jones@linaro.org> | Fri Nov 26 10:33:35 2021 +0000 | 
| committer | Greg Kroah-Hartman <gregkh@linuxfoundation.org> | Wed Dec 08 08:45:02 2021 +0100 | 
| tree | 4597c862fb1945a1bea866a4a4197fa05f14679a | |
| parent | 5fd8594b3cefd966789dfebf8eb4311574fadbb9 [diff] | 
staging: ion: Prevent incorrect reference counting behavour
Supply additional checks in order to prevent unexpected results.
Fixes: b892bf75b2034 ("ion: Switch ion to use dma-buf")
Suggested-by: Dan Carpenter <dan.carpenter@oracle.com>
Signed-off-by: Lee Jones <lee.jones@linaro.org>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>