<feed xmlns='http://www.w3.org/2005/Atom'>
<title>lwn.git/drivers/media/dvb/frontends/tda8083.c, branch docs-5.13</title>
<subtitle>Linux kernel documentation tree maintained by Jonathan Corbet</subtitle>
<id>http://mirrors.hust.edu.cn/git/lwn.git/atom?h=docs-5.13</id>
<link rel='self' href='http://mirrors.hust.edu.cn/git/lwn.git/atom?h=docs-5.13'/>
<link rel='alternate' type='text/html' href='http://mirrors.hust.edu.cn/git/lwn.git/'/>
<updated>2012-08-14T02:13:41+00:00</updated>
<entry>
<title>[media] move the dvb/frontends to drivers/media/dvb-frontends</title>
<updated>2012-08-14T02:13:41+00:00</updated>
<author>
<name>Mauro Carvalho Chehab</name>
<email>mchehab@redhat.com</email>
</author>
<published>2012-08-14T02:13:41+00:00</published>
<link rel='alternate' type='text/html' href='http://mirrors.hust.edu.cn/git/lwn.git/commit/?id=9a0bf528b4d66b605f02634236da085595c22101'/>
<id>urn:sha1:9a0bf528b4d66b605f02634236da085595c22101</id>
<content type='text'>
Raise the DVB frontends one level up, as the intention is to remove
the drivers/media/dvb directory.

Signed-off-by: Mauro Carvalho Chehab &lt;mchehab@redhat.com&gt;
</content>
</entry>
<entry>
<title>[media] dvb: Remove ops-&gt;info.type from frontends</title>
<updated>2012-01-04T19:30:34+00:00</updated>
<author>
<name>Mauro Carvalho Chehab</name>
<email>mchehab@redhat.com</email>
</author>
<published>2012-01-01T19:11:18+00:00</published>
<link rel='alternate' type='text/html' href='http://mirrors.hust.edu.cn/git/lwn.git/commit/?id=7581e61d8d7a3ed89a3fdac2235231cd36548f78'/>
<id>urn:sha1:7581e61d8d7a3ed89a3fdac2235231cd36548f78</id>
<content type='text'>
Now that this field is deprecated, and core generates it for
DVBv3 calls, remove it from the drivers.

It also adds .delsys on the few drivers where this were missed.

Signed-off-by: Mauro Carvalho Chehab &lt;mchehab@redhat.com&gt;
</content>
</entry>
<entry>
<title>[media] dvb: don't require a parameter for get_frontend</title>
<updated>2011-12-31T12:28:23+00:00</updated>
<author>
<name>Mauro Carvalho Chehab</name>
<email>mchehab@redhat.com</email>
</author>
<published>2011-12-30T14:30:21+00:00</published>
<link rel='alternate' type='text/html' href='http://mirrors.hust.edu.cn/git/lwn.git/commit/?id=7c61d80a9bcfc3fdec8ffd75756cad6a64678229'/>
<id>urn:sha1:7c61d80a9bcfc3fdec8ffd75756cad6a64678229</id>
<content type='text'>
Just like set_frontend, use the dvb cache properties for get_frontend.
This is more consistent, as both functions are now symetric. Also,
at the places get_frontend is called, it makes sense to update the
cache.

Most of this patch were generated by this small perl script:

	while (&lt;&gt;) { $file .= $_; }
	if ($file =~ m/\.get_frontend\s*=\s*([\d\w_]+)/) {
		my $get = $1;
		$file =~ s/($get)(\s*\([^\,\)]+)\,\s*struct\s+dtv_frontend_properties\s*\*\s*([_\d\w]+)\)\s*\{/\1\2)\n{\n\tstruct dtv_frontend_properties *\3 = &amp;fe-&gt;dtv_property_cache;/g;
	}
	print $file;

Of course, the changes at dvb_frontend.[ch] were made by hand,
as well as the changes on a few other places, where get_frontend()
is called internally inside the driver.

On some places, get_frontend() were just a void function. Those
occurrences were removed, as the DVB core handles such cases.

Signed-off-by: Mauro Carvalho Chehab &lt;mchehab@redhat.com&gt;
</content>
</entry>
<entry>
<title>[media] tda8083: convert set_fontend to use DVBv5 parameters</title>
<updated>2011-12-31T11:48:47+00:00</updated>
<author>
<name>Mauro Carvalho Chehab</name>
<email>mchehab@redhat.com</email>
</author>
<published>2011-12-26T18:07:36+00:00</published>
<link rel='alternate' type='text/html' href='http://mirrors.hust.edu.cn/git/lwn.git/commit/?id=042e5eb79f3c9eba2ad382f079834af20cbecc17'/>
<id>urn:sha1:042e5eb79f3c9eba2ad382f079834af20cbecc17</id>
<content type='text'>
Instead of using dvb_frontend_parameters struct, that were
designed for a subset of the supported standards, use the DVBv5
cache information.

Also, fill the supported delivery systems at dvb_frontend_ops
struct.

Signed-off-by: Mauro Carvalho Chehab &lt;mchehab@redhat.com&gt;
</content>
</entry>
<entry>
<title>[media] dvb-core: add support for a DVBv5 get_frontend() callback</title>
<updated>2011-12-31T11:10:49+00:00</updated>
<author>
<name>Mauro Carvalho Chehab</name>
<email>mchehab@redhat.com</email>
</author>
<published>2011-12-22T17:47:48+00:00</published>
<link rel='alternate' type='text/html' href='http://mirrors.hust.edu.cn/git/lwn.git/commit/?id=a689e3657d7e82c2271008553c709fc79fb2e038'/>
<id>urn:sha1:a689e3657d7e82c2271008553c709fc79fb2e038</id>
<content type='text'>
Creates a DVBv5 get_frontend call, renaming the DVBv3 one to
get_frontend_legacy(), while not all frontends are converted.

After the conversion for all drivers, get_frontend_legacy()
will be removed.

Signed-off-by: Mauro Carvalho Chehab &lt;mchehab@redhat.com&gt;
</content>
</entry>
<entry>
<title>[media] Rename set_frontend fops to set_frontend_legacy</title>
<updated>2011-12-31T11:09:43+00:00</updated>
<author>
<name>Mauro Carvalho Chehab</name>
<email>mchehab@redhat.com</email>
</author>
<published>2011-12-20T18:31:54+00:00</published>
<link rel='alternate' type='text/html' href='http://mirrors.hust.edu.cn/git/lwn.git/commit/?id=bc9cd2736b34619b58961d506210fe0e6dfaa27d'/>
<id>urn:sha1:bc9cd2736b34619b58961d506210fe0e6dfaa27d</id>
<content type='text'>
Passing DVBv3 parameters to set_frontend is not fun, as the
core doesn't have any way to know if the driver is using the
v3 or v5 parameters. So, rename the callback and add a new
one to allow distinguish between a mixed v3/v5 paramenter call
from a pure v5 call.

After having all frontends to use the new way, the legacy
call can be removed.

Signed-off-by: Mauro Carvalho Chehab &lt;mchehab@redhat.com&gt;
</content>
</entry>
<entry>
<title>[media] tuners: remove dvb_frontend_parameters from set_params()</title>
<updated>2011-12-31T10:57:29+00:00</updated>
<author>
<name>Mauro Carvalho Chehab</name>
<email>mchehab@redhat.com</email>
</author>
<published>2011-12-24T15:24:33+00:00</published>
<link rel='alternate' type='text/html' href='http://mirrors.hust.edu.cn/git/lwn.git/commit/?id=14d24d148c7521b2b88b396652e36f55d061e195'/>
<id>urn:sha1:14d24d148c7521b2b88b396652e36f55d061e195</id>
<content type='text'>
This is a big patch, yet trivial: now that all tuners use the DVBv5
way to pass parameters (e. g. via fe-&gt;dtv_property_cache), the
extra parameter can be removed from set_params() call.

After this change, very few DVBv3 specific stuff are left at the
tuners.

Signed-off-by: Mauro Carvalho Chehab &lt;mchehab@redhat.com&gt;
</content>
</entry>
<entry>
<title>V4L/DVB (12440): Use kzalloc for frontend states to have struct dvb_frontend properly</title>
<updated>2009-08-13T23:39:14+00:00</updated>
<author>
<name>Matthias Schwarzott</name>
<email>zzam@gentoo.org</email>
</author>
<published>2009-08-11T01:51:01+00:00</published>
<link rel='alternate' type='text/html' href='http://mirrors.hust.edu.cn/git/lwn.git/commit/?id=084e24acc906c162c92de7df807190856ae60928'/>
<id>urn:sha1:084e24acc906c162c92de7df807190856ae60928</id>
<content type='text'>
This patch changes most frontend drivers to allocate their state structure via
kzalloc and not kmalloc. This is done to properly initialize the
embedded "struct dvb_frontend frontend" field, that they all have.

The visible effect of this struct being uninitalized is, that the member "id"
that is used to set the name of kernel thread is totally random.

Some board drivers (for example cx88-dvb) set this "id" via
videobuf_dvb_alloc_frontend but most do not.

So I at least get random id values for saa7134, flexcop and ttpci based cards.
It looks like this in dmesg:
DVB: registering adapter 1 frontend -10551321 (ST STV0299 DVB-S)

The related kernel thread then also gets a strange name
like "kdvb-ad-1-fe--1".

Cc: Michael Krufky &lt;mkrufky@linuxtv.org&gt;
Cc: Steven Toth &lt;stoth@linuxtv.org&gt;
Cc: Timothy Lee &lt;timothy.lee@siriushk.com&gt;
Cc: Igor M. Liplianin &lt;liplianin@me.by&gt;
Signed-off-by: Matthias Schwarzott &lt;zzam@gentoo.org&gt;
Acked-by: Andreas Oberritter &lt;obi@linuxtv.org&gt;
Signed-off-by: Douglas Schilling Landgraf &lt;dougsland@redhat.com&gt;
Signed-off-by: Mauro Carvalho Chehab &lt;mchehab@redhat.com&gt;
</content>
</entry>
<entry>
<title>V4L/DVB (7514): media/dvb/frontends replace remaining __FUNCTION__ occurrences</title>
<updated>2008-04-24T17:07:58+00:00</updated>
<author>
<name>Harvey Harrison</name>
<email>harvey.harrison@gmail.com</email>
</author>
<published>2008-04-09T02:20:00+00:00</published>
<link rel='alternate' type='text/html' href='http://mirrors.hust.edu.cn/git/lwn.git/commit/?id=271ddbf702c3a4e6b18f6464180eda0f62efd9a5'/>
<id>urn:sha1:271ddbf702c3a4e6b18f6464180eda0f62efd9a5</id>
<content type='text'>
__FUNCTION__ is gcc-specific, use __func__

Signed-off-by: Harvey Harrison &lt;harvey.harrison@gmail.com&gt;
Acked-by: Oliver Endriss &lt;o.endriss@gmx.de&gt;
Signed-off-by: Michael Krufky &lt;mkrufky@linuxtv.org&gt;
Signed-off-by: Mauro Carvalho Chehab &lt;mchehab@infradead.org&gt;
</content>
</entry>
<entry>
<title>V4L/DVB (6079): Cleanup: remove linux/moduleparam.h from drivers/media files</title>
<updated>2007-10-10T01:06:17+00:00</updated>
<author>
<name>Mauro Carvalho Chehab</name>
<email>mchehab@infradead.org</email>
</author>
<published>2007-08-21T15:38:39+00:00</published>
<link rel='alternate' type='text/html' href='http://mirrors.hust.edu.cn/git/lwn.git/commit/?id=9c12224a607a4b22ab86784e3394b52810b9507c'/>
<id>urn:sha1:9c12224a607a4b22ab86784e3394b52810b9507c</id>
<content type='text'>
Since at least kernel 2.6.12-rc2, module.h includes moduleparm.h. This
patch removes all occurences of moduleparm.h from drivers/media files.

Signed-off-by: Mauro Carvalho Chehab &lt;mchehab@infradead.org&gt;
</content>
</entry>
</feed>
