Message ID | 20190403221501.32814-13-dafna3@gmail.com (mailing list archive) |
---|---|
State | New, archived |
Headers | show |
Series | media: vicodec: adding support for stateless encoder | expand |
diff --git a/drivers/media/platform/vicodec/vicodec-core.c b/drivers/media/platform/vicodec/vicodec-core.c index 08073f914fd6..3e93e86041f7 100644 --- a/drivers/media/platform/vicodec/vicodec-core.c +++ b/drivers/media/platform/vicodec/vicodec-core.c @@ -2254,6 +2254,7 @@ static int vicodec_remove(struct platform_device *pdev) v4l2_m2m_release(dev->stateful_enc.m2m_dev); v4l2_m2m_release(dev->stateful_dec.m2m_dev); + v4l2_m2m_release(dev->stateless_dec.m2m_dev); video_unregister_device(&dev->stateful_enc.vfd); video_unregister_device(&dev->stateful_dec.vfd); video_unregister_device(&dev->stateless_dec.vfd);
add a call 'v4l2_m2m_release(dev->stateless_dec.m2m_dev)' in vicodec_remove Signed-off-by: Dafna Hirschfeld <dafna3@gmail.com> --- drivers/media/platform/vicodec/vicodec-core.c | 1 + 1 file changed, 1 insertion(+)