staging: ion: Prevent incorrect reference counting behavour
Supply additional checks in order to prevent unexpected results. Fixes: b892bf75 ("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>
parent
5fd8594b
Please register or sign in to comment