staging: bcm2835-codec: Fix imbalance in dma_buf_get/dma_buf_put
authorDave Stevenson <dave.stevenson@raspberrypi.org>
Mon, 7 Oct 2019 13:02:57 +0000 (14:02 +0100)
committerpopcornmix <popcornmix@gmail.com>
Wed, 1 Jul 2020 15:33:08 +0000 (16:33 +0100)
commit6469e0f464b3ca06b8dab4f9ddf1ece3e786975a
tree0a922d8a48cdc5091c0f0dc897344fefd309aed4
parent562d87f534101e76071c22f507dfc8fb868825ef
staging: bcm2835-codec: Fix imbalance in dma_buf_get/dma_buf_put

When represented with a dmabuf buffer that had previously been
imported, there was a call to dma_buf_get without a matching
dma_buf_put. This left dmabufs in limbo after all users had
supposedly released them.

Signed-off-by: Dave Stevenson <dave.stevenson@raspberrypi.org>
drivers/staging/vc04_services/bcm2835-codec/bcm2835-v4l2-codec.c