v4lvideo: fix cat dev panic [1/1]
authorjintao xu <jintao.xu@amlogic.com>
Thu, 28 Nov 2019 06:24:40 +0000 (14:24 +0800)
committerJianxin Pan <jianxin.pan@amlogic.com>
Thu, 28 Nov 2019 09:29:15 +0000 (02:29 -0700)
commit5f0d38a6b7f8e7c74539e849bb35c594e1f57869
tree43b375796f1dde67c4e0d6a7e9ed40fadf377921
parente3d65fddb386ca2e83841378f07ca3fdc6b792c1
v4lvideo: fix cat dev panic [1/1]

PD#SWPL-17478

Problem:
cat /dev/video33 panic

Solution:
read return 0

Verify:
U212

Change-Id: Idcabf7eca7d99d020fb759261fd7f613da83b096
Signed-off-by: jintao xu <jintao.xu@amlogic.com>
drivers/amlogic/media/video_processor/v4lvideo/v4lvideo.c