commit | fea24b07edfc348c67a019b6e17b39c0698e631f | [log] [tgz] |
---|---|---|
author | Lee Jones <lee.jones@linaro.org> | Mon Apr 25 16:51:54 2022 +0100 |
committer | Greg Kroah-Hartman <gregkh@linuxfoundation.org> | Wed Apr 27 13:53:57 2022 +0200 |
tree | 8760be16732397982116549f69ed95ad79759edc | |
parent | dccee748af17fc087ff5017152e532ef8e18c8c0 [diff] |
staging: ion: Prevent incorrect reference counting behavour Supply additional check 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>