diff options
Diffstat (limited to 'drivers/media/platform/s5p-mfc/s5p_mfc_opr.c')
-rw-r--r-- | drivers/media/platform/s5p-mfc/s5p_mfc_opr.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/media/platform/s5p-mfc/s5p_mfc_opr.c b/drivers/media/platform/s5p-mfc/s5p_mfc_opr.c index b4c194331d8c..10f8ac37cecd 100644 --- a/drivers/media/platform/s5p-mfc/s5p_mfc_opr.c +++ b/drivers/media/platform/s5p-mfc/s5p_mfc_opr.c | |||
@@ -53,7 +53,7 @@ void s5p_mfc_release_priv_buf(struct device *dev, | |||
53 | { | 53 | { |
54 | if (b->virt) { | 54 | if (b->virt) { |
55 | dma_free_coherent(dev, b->size, b->virt, b->dma); | 55 | dma_free_coherent(dev, b->size, b->virt, b->dma); |
56 | b->virt = 0; | 56 | b->virt = NULL; |
57 | b->dma = 0; | 57 | b->dma = 0; |
58 | b->size = 0; | 58 | b->size = 0; |
59 | } | 59 | } |