vfm: fixed vfm bug on provider init
authorYao.Liu <yao.liu@amlogic.com>
Thu, 7 Sep 2017 13:23:48 +0000 (21:23 +0800)
committerVictor Wan <victor.wan@amlogic.com>
Sat, 9 Sep 2017 04:05:08 +0000 (21:05 -0700)
commit39f914e073f3cc0492c3e311890d07874e9fbc13
tree06d5c8d861900c35dad17f7add85bb909d910061
parent64d6b11ab3694947f91e83820bc4e2682b6ceea6
vfm: fixed vfm bug on provider init

PD#149448: vfm: fixed vfm bug on provider init
        if provider use_cnt init later,
        some one may have on peek/get
        use_cnt may become error.

Change-Id: Ic4e416ab4ec6e0590ee095cbd1a8b40990537980
Signed-off-by: Yao.Liu <yao.liu@amlogic.com>
drivers/amlogic/media/common/vfm/vframe_provider.c