[media] rtl2832_sdr: refcount to rtl28xxu
commitd5eec231becd745c8a943dcac27c681dabb013d7
authorAntti Palosaari <crope@iki.fi>
Wed, 17 Dec 2014 11:25:03 +0000 (17 08:25 -0300)
committerMauro Carvalho Chehab <mchehab@osg.samsung.com>
Tue, 3 Feb 2015 18:22:24 +0000 (3 16:22 -0200)
treecd7f2f981568efd5ad277238dee87720bdda268f
parent6a53fa2350f724ca84b0a1946f3046855e1efd41
[media] rtl2832_sdr: refcount to rtl28xxu

We are consumer of DVB frontend provided by rtl28xxu module. Due to
that we must use refcount to ensure none could remove rtl28xxu when
we are alive (or when we are streaming, if more fine-grained
refcounting is wanted).

Signed-off-by: Antti Palosaari <crope@iki.fi>
Signed-off-by: Mauro Carvalho Chehab <mchehab@osg.samsung.com>
drivers/media/dvb-frontends/rtl2832_sdr.c