<feed xmlns='http://www.w3.org/2005/Atom'>
<title>lwn.git/drivers/media/dvb-core, branch v4.6-rc1</title>
<subtitle>Linux kernel documentation tree maintained by Jonathan Corbet</subtitle>
<id>http://mirrors.hust.edu.cn/git/lwn.git/atom?h=v4.6-rc1</id>
<link rel='self' href='http://mirrors.hust.edu.cn/git/lwn.git/atom?h=v4.6-rc1'/>
<link rel='alternate' type='text/html' href='http://mirrors.hust.edu.cn/git/lwn.git/'/>
<updated>2016-03-03T17:33:33+00:00</updated>
<entry>
<title>[media] dvb-core: fix return code checking for devices with CA</title>
<updated>2016-03-03T17:33:33+00:00</updated>
<author>
<name>Olli Salonen</name>
<email>olli.salonen@iki.fi</email>
</author>
<published>2016-03-01T19:28:54+00:00</published>
<link rel='alternate' type='text/html' href='http://mirrors.hust.edu.cn/git/lwn.git/commit/?id=711f3fba6ffd3914fd1b5ed9faf8d22bab6f2203'/>
<id>urn:sha1:711f3fba6ffd3914fd1b5ed9faf8d22bab6f2203</id>
<content type='text'>
The test for the return code was mistakenly inverted. This caused DVB
devices with CA module to fail on modprobe.

Tested with TechnoTrend CT2-4650 CI USB tuner.

Signed-off-by: Olli Salonen &lt;olli.salonen@iki.fi&gt;
Signed-off-by: Mauro Carvalho Chehab &lt;mchehab@osg.samsung.com&gt;
</content>
</entry>
<entry>
<title>[media] Add support for Avermedia AverTV Volar HD 2 (TD110)</title>
<updated>2016-03-03T11:33:05+00:00</updated>
<author>
<name>Philippe Valembois</name>
<email>lephilousophe@users.sourceforge.net</email>
</author>
<published>2016-02-09T08:08:01+00:00</published>
<link rel='alternate' type='text/html' href='http://mirrors.hust.edu.cn/git/lwn.git/commit/?id=b8ebfafc3289c72a333878c8738cbc225beee421'/>
<id>urn:sha1:b8ebfafc3289c72a333878c8738cbc225beee421</id>
<content type='text'>
Signed-off-by: Philippe Valembois &lt;lephilousophe@users.sourceforge.net&gt;
Reviewed-by: Antti Palosaari &lt;crope@iki.fi&gt;
Signed-off-by: Mauro Carvalho Chehab &lt;mchehab@osg.samsung.com&gt;
</content>
</entry>
<entry>
<title>[media] media: dvb-frontend invoke enable/disable_source handlers</title>
<updated>2016-02-27T12:34:06+00:00</updated>
<author>
<name>Shuah Khan</name>
<email>shuahkh@osg.samsung.com</email>
</author>
<published>2016-02-11T23:41:36+00:00</published>
<link rel='alternate' type='text/html' href='http://mirrors.hust.edu.cn/git/lwn.git/commit/?id=68ff5767ddc419c046571a95e21406c56a18eaf9'/>
<id>urn:sha1:68ff5767ddc419c046571a95e21406c56a18eaf9</id>
<content type='text'>
Change dvb frontend to check if tuner is free when device opened in RW
mode.

Call to enable_source handler either returns with an active pipeline to
tuner or error if tuner is busy.

Tuner is released when frontend is released calling the disable_source
handler.

Signed-off-by: Shuah Khan &lt;shuahkh@osg.samsung.com&gt;
Signed-off-by: Mauro Carvalho Chehab &lt;mchehab@osg.samsung.com&gt;
</content>
</entry>
<entry>
<title>[media] dvb_frontend: Don't let drivers to trash data at cache</title>
<updated>2016-02-04T18:27:41+00:00</updated>
<author>
<name>Mauro Carvalho Chehab</name>
<email>mchehab@osg.samsung.com</email>
</author>
<published>2016-02-04T15:26:22+00:00</published>
<link rel='alternate' type='text/html' href='http://mirrors.hust.edu.cn/git/lwn.git/commit/?id=bb31d2381c730485be00a7da44c45416e9781709'/>
<id>urn:sha1:bb31d2381c730485be00a7da44c45416e9781709</id>
<content type='text'>
GET_FRONTEND and G_PROPERTY can be called anytime, even when the
tuner/demod is not fully locked. However, several parameters
returned by those calls are available only after the demod get
VITERBI lock.

While several drivers do the right thing by checking the status before
returning the parameter, some drivers simply blindly update the
DTV properties cache without checking if the registers at the
hardware contain valid values.

Due to that, programs that call G_PROPERTY (or GET_FRONTEND)
before having a tuner lock may interfere at the zigzag logic,
as the DVB kthread calls the set_frontend() callback several
times, to fine tune the frequency and to identify if the signal
is inverted or not.

While the drivers should be fixed to report the right status,
we should prevent that such bugs would actually interfere at the
device operation.

So, let's use a separate var for userspace calls to get frontend.

As we copy the content of the cache, this should not cause any
troubles.

Signed-off-by: Mauro Carvalho Chehab &lt;mchehab@osg.samsung.com&gt;
</content>
</entry>
<entry>
<title>[media] dvb_frontend: pass the props cache to get_frontend() as arg</title>
<updated>2016-02-04T18:27:30+00:00</updated>
<author>
<name>Mauro Carvalho Chehab</name>
<email>mchehab@osg.samsung.com</email>
</author>
<published>2016-02-04T14:58:30+00:00</published>
<link rel='alternate' type='text/html' href='http://mirrors.hust.edu.cn/git/lwn.git/commit/?id=7e3e68bcfd7713fb1470070c8fa0f108609dd76b'/>
<id>urn:sha1:7e3e68bcfd7713fb1470070c8fa0f108609dd76b</id>
<content type='text'>
Instead of using the DTV properties cache directly, pass the get
frontend data as an argument. For now, everything should remain
the same, but the next patch will prevent get_frontend to
affect the global cache.

This is needed because several drivers don't care enough to only
change the properties if locked. Due to that, calling
G_PROPERTY before locking on those drivers will make them to
never lock. Ok, those drivers are crap and should never be
merged like that, but the core should not rely that the drivers
would be doing the right thing.

Reviewed-by: Michael Ira Krufky &lt;mkrufky@linuxtv.org&gt;
Signed-off-by: Mauro Carvalho Chehab &lt;mchehab@osg.samsung.com&gt;
</content>
</entry>
<entry>
<title>[media] dvb_frontend: add props argument to dtv_get_frontend()</title>
<updated>2016-02-04T11:45:14+00:00</updated>
<author>
<name>Mauro Carvalho Chehab</name>
<email>mchehab@osg.samsung.com</email>
</author>
<published>2016-02-04T11:45:14+00:00</published>
<link rel='alternate' type='text/html' href='http://mirrors.hust.edu.cn/git/lwn.git/commit/?id=2ea9a08d59b99fbb257bcd8c47e2cbc8be136f8c'/>
<id>urn:sha1:2ea9a08d59b99fbb257bcd8c47e2cbc8be136f8c</id>
<content type='text'>
Instead of implicitly using the DTV cache properties at
dtv_get_frontend(), pass it as an additional argument.

This patch prepares to use a separate cache for G_PROPERTY,
in order to avoid it to mangle with the DVB thread
zigzag logic.

Signed-off-by: Mauro Carvalho Chehab &lt;mchehab@osg.samsung.com&gt;
</content>
</entry>
<entry>
<title>[media] dvb_frontend: print DTV property dump also for SET_PROPERTY</title>
<updated>2016-02-04T11:06:38+00:00</updated>
<author>
<name>Mauro Carvalho Chehab</name>
<email>mchehab@osg.samsung.com</email>
</author>
<published>2016-02-03T19:29:41+00:00</published>
<link rel='alternate' type='text/html' href='http://mirrors.hust.edu.cn/git/lwn.git/commit/?id=c29ebb64a553074dc52b6ad36cf0e573d6991c09'/>
<id>urn:sha1:c29ebb64a553074dc52b6ad36cf0e573d6991c09</id>
<content type='text'>
When debugging troubles with DTV properties get/set, it is
important to be able to see not only the properties from get, but
also the ones from set. So, improve the dumps to allow reporting
both.

Signed-off-by: Mauro Carvalho Chehab &lt;mchehab@osg.samsung.com&gt;
</content>
</entry>
<entry>
<title>[media] dvb-frontend: Use boottime</title>
<updated>2016-02-01T15:35:29+00:00</updated>
<author>
<name>Abhilash Jindal</name>
<email>klock.android@gmail.com</email>
</author>
<published>2016-01-31T05:47:31+00:00</published>
<link rel='alternate' type='text/html' href='http://mirrors.hust.edu.cn/git/lwn.git/commit/?id=6b3f99989eb73e5250bba9dfeaa852939acfbf70'/>
<id>urn:sha1:6b3f99989eb73e5250bba9dfeaa852939acfbf70</id>
<content type='text'>
Wall time obtained from ktime_get_real is susceptible to sudden jumps due to
user setting the time or due to NTP.  Boot time is constantly increasing time
better suited for comparing two timestamps.

[mchehab@osg.samsung.com: fix trivial merge conflicts]
Signed-off-by: Abhilash Jindal &lt;klock.android@gmail.com&gt;

Signed-off-by: Mauro Carvalho Chehab &lt;mchehab@osg.samsung.com&gt;
</content>
</entry>
<entry>
<title>[media] dvbdev: the space is required after ','</title>
<updated>2016-02-01T12:25:59+00:00</updated>
<author>
<name>Xiubo Li</name>
<email>lixiubo@cmss.chinamobile.com</email>
</author>
<published>2016-01-15T05:14:59+00:00</published>
<link rel='alternate' type='text/html' href='http://mirrors.hust.edu.cn/git/lwn.git/commit/?id=0ede1876f7eb43ee6a47f5081d8902db6dd8b4ab'/>
<id>urn:sha1:0ede1876f7eb43ee6a47f5081d8902db6dd8b4ab</id>
<content type='text'>
The space is missing after ',', and this will be introduce much
noise when checking new patch around them.

Signed-off-by: Xiubo Li &lt;lixiubo@cmss.chinamobile.com&gt;
Signed-off-by: Mauro Carvalho Chehab &lt;mchehab@osg.samsung.com&gt;
</content>
</entry>
<entry>
<title>[media] dvbdev: replace kcalloc with kzalloc</title>
<updated>2016-02-01T12:25:16+00:00</updated>
<author>
<name>Xiubo Li</name>
<email>lixiubo@cmss.chinamobile.com</email>
</author>
<published>2016-01-15T05:14:58+00:00</published>
<link rel='alternate' type='text/html' href='http://mirrors.hust.edu.cn/git/lwn.git/commit/?id=5c3fbc5e033ae2e089883c7294304a9a5bf404b2'/>
<id>urn:sha1:5c3fbc5e033ae2e089883c7294304a9a5bf404b2</id>
<content type='text'>
Since the number of elements equals to 1, so just use kzalloc to
simplify the code and make it more readable.

Signed-off-by: Xiubo Li &lt;lixiubo@cmss.chinamobile.com&gt;
Signed-off-by: Mauro Carvalho Chehab &lt;mchehab@osg.samsung.com&gt;
</content>
</entry>
</feed>
