CHROMIUM: media: tegra: avp: Allow AVP to have multiple clients.

Ref-count the AVP open/release requests; if AVP already opened,
just inc the refcount and let the request succeed.

Change-Id: Ib493e8e0aff6c339a0a9ccda8c1fd8f06932f665

R=olofj@chromium.org
BUG=chromium-os-partner:3353
TEST=tested with omx H.264 decode under X11
Signed-off-by: Chong Zhang <chzhang@nvidia.com>
Signed-off-by: Allen Martin <amartin@nvidia.com>
Signed-off-by: Olof Johansson <olofj@chromium.org>

Review URL: http://codereview.chromium.org/6897006
1 file changed