<feed xmlns='http://www.w3.org/2005/Atom'>
<title>kernel.git/drivers/media/common/b2c2, branch linux-4.10.y</title>
<subtitle>Hosts the 0x221E linux distro kernel.
</subtitle>
<id>https://git.0xinfinity.dev/distro/kernel.git/atom?h=linux-4.10.y</id>
<link rel='self' href='https://git.0xinfinity.dev/distro/kernel.git/atom?h=linux-4.10.y'/>
<link rel='alternate' type='text/html' href='https://git.0xinfinity.dev/distro/kernel.git/'/>
<updated>2016-10-21T10:51:32Z</updated>
<entry>
<title>[media] b2c2: don't break long lines</title>
<updated>2016-10-21T10:51:32Z</updated>
<author>
<name>Mauro Carvalho Chehab</name>
</author>
<published>2016-10-18T19:44:00Z</published>
<link rel='alternate' type='text/html' href='https://git.0xinfinity.dev/distro/kernel.git/commit/?id=d9942ad0228a7e1a46a24f7962cb790443042da3'/>
<id>urn:sha1:d9942ad0228a7e1a46a24f7962cb790443042da3</id>
<content type='text'>
Due to the 80-cols restrictions, and latter due to checkpatch
warnings, several strings were broken into multiple lines. This
is not considered a good practice anymore, as it makes harder
to grep for strings at the source code.

As we're right now fixing other drivers due to KERN_CONT, we need
to be able to identify what printk strings don't end with a "\n".
It is a way easier to detect those if we don't break long lines.

So, join those continuation lines.

The patch was generated via the script below, and manually
adjusted if needed.

&lt;/script&gt;
use Text::Tabs;
while (&lt;&gt;) {
	if ($next ne "") {
		$c=$_;
		if ($c =~ /^\s+\"(.*)/) {
			$c2=$1;
			$next =~ s/\"\n$//;
			$n = expand($next);
			$funpos = index($n, '(');
			$pos = index($c2, '",');
			if ($funpos &amp;&amp; $pos &gt; 0) {
				$s1 = substr $c2, 0, $pos + 2;
				$s2 = ' ' x ($funpos + 1) . substr $c2, $pos + 2;
				$s2 =~ s/^\s+//;

				$s2 = ' ' x ($funpos + 1) . $s2 if ($s2 ne "");

				print unexpand("$next$s1\n");
				print unexpand("$s2\n") if ($s2 ne "");
			} else {
				print "$next$c2\n";
			}
			$next="";
			next;
		} else {
			print $next;
		}
		$next="";
	} else {
		if (m/\"$/) {
			if (!m/\\n\"$/) {
				$next=$_;
				next;
			}
		}
	}
	print $_;
}
&lt;/script&gt;

Signed-off-by: Mauro Carvalho Chehab &lt;mchehab@s-opensource.com&gt;
</content>
</entry>
<entry>
<title>[media] flexcop-i2c: mark printk continuation lines as such</title>
<updated>2016-10-21T10:51:29Z</updated>
<author>
<name>Mauro Carvalho Chehab</name>
</author>
<published>2016-10-13T18:23:12Z</published>
<link rel='alternate' type='text/html' href='https://git.0xinfinity.dev/distro/kernel.git/commit/?id=7887d3710b6eac7c980f4e7b4b86bd383695ae80'/>
<id>urn:sha1:7887d3710b6eac7c980f4e7b4b86bd383695ae80</id>
<content type='text'>
This driver has printk continuation lines for debugging purposes.

Since commit 563873318d32 ("Merge branch 'printk-cleanups'"),
this won't work as expected anymore. So, let's add KERN_CONT to
those lines.

Signed-off-by: Mauro Carvalho Chehab &lt;mchehab@s-opensource.com&gt;
</content>
</entry>
<entry>
<title>[media] dvb-core: move dvb_filter out of the DVB core</title>
<updated>2016-10-21T10:44:08Z</updated>
<author>
<name>Mauro Carvalho Chehab</name>
</author>
<published>2016-10-13T10:41:38Z</published>
<link rel='alternate' type='text/html' href='https://git.0xinfinity.dev/distro/kernel.git/commit/?id=b676e7316ae9b4e6424dc0beb16dbaf71c659a18'/>
<id>urn:sha1:b676e7316ae9b4e6424dc0beb16dbaf71c659a18</id>
<content type='text'>
The dvb_filter.c can hardly be considered as part of the DVB
core. More than half of the code there is commented out by
av7110 and ttusb_dec.

On the latter, just two small helper functions and a struct
definition is used.

Being part of the core means that it would require an
amount of work to fix issues in it, like bad printk's
on it, and to document it on some future, like other kAPI
headers. It simply not worth the effort for something that
seems to be deprecated, as no new drivers use it.

So, move it out of the core, by moving it to pci/ttpci
directory, where av7110 driver is kept, and copy the two
routines used by ttyusb_dec directly into its code.

Signed-off-by: Mauro Carvalho Chehab &lt;mchehab@s-opensource.com&gt;
</content>
</entry>
<entry>
<title>[media] b2c2: flexcop: avoid unused function warnings</title>
<updated>2016-02-01T15:15:01Z</updated>
<author>
<name>Arnd Bergmann</name>
</author>
<published>2016-01-26T14:09:58Z</published>
<link rel='alternate' type='text/html' href='https://git.0xinfinity.dev/distro/kernel.git/commit/?id=733d0def3ebdd1d088330d904149af21fa4b9ae2'/>
<id>urn:sha1:733d0def3ebdd1d088330d904149af21fa4b9ae2</id>
<content type='text'>
The flexcop driver has two functions that are normally used, except
when multiple frontend drivers are disabled:

drivers/media/common/b2c2/flexcop-fe-tuner.c:42:12: warning: 'flexcop_set_voltage' defined but not used [-Wunused-function]
drivers/media/common/b2c2/flexcop-fe-tuner.c:71:12: warning: 'flexcop_sleep' defined but not used [-Wunused-function]

This avoids the build warning by updating the #ifdef for flexcop_set_voltage
to the exact condition under which it is used. For flexcop_sleep, the
condition is rather complex, so I resort to marking it as __maybe_unused,
so the compiler can silently drop it.

Signed-off-by: Arnd Bergmann &lt;arnd@arndb.de&gt;
Signed-off-by: Mauro Carvalho Chehab &lt;mchehab@osg.samsung.com&gt;
</content>
</entry>
<entry>
<title>[media] media: change email address</title>
<updated>2016-01-25T14:01:08Z</updated>
<author>
<name>Patrick Boettcher</name>
</author>
<published>2016-01-24T14:56:58Z</published>
<link rel='alternate' type='text/html' href='https://git.0xinfinity.dev/distro/kernel.git/commit/?id=99e44da7928d4abb3028258ac3cd23a48495cd61'/>
<id>urn:sha1:99e44da7928d4abb3028258ac3cd23a48495cd61</id>
<content type='text'>
Soon my dibcom.fr/parrot.com-address won't respond anymore.
Thus I'm replacing it. And, while being at it,
let's adapt some other (old) email-addresses as well.

Signed-off-by: Patrick Boettcher &lt;patrick.boettcher@posteo.de&gt;
Signed-off-by: Mauro Carvalho Chehab &lt;mchehab@osg.samsung.com&gt;
</content>
</entry>
<entry>
<title>[media] b2c2: Add option to skip the first 6 pid filters</title>
<updated>2015-06-09T23:57:56Z</updated>
<author>
<name>Jemma Denson</name>
</author>
<published>2015-05-30T18:10:06Z</published>
<link rel='alternate' type='text/html' href='https://git.0xinfinity.dev/distro/kernel.git/commit/?id=d3525b632a0b5e113fb78b7db84598e082cf903b'/>
<id>urn:sha1:d3525b632a0b5e113fb78b7db84598e082cf903b</id>
<content type='text'>
The flexcop bridge chip has two banks of hardware pid filters -
an initial 6, and on some chip revisions an additional bank of 32.

A bug is present on the initial 6 - when changing transponders
one of two PAT packets from the old transponder would be included
in the initial packets from the new transponder. This usually
transpired with userspace programs complaining about services
missing, because they are seeing a PAT that they would not be
expecting. Running in full TS mode does not exhibit this problem,
neither does using just the additional 32.

This patch adds in an option to not use the inital 6 and solely use
just the additional 32, and enables this option for the SkystarS2
card. Other cards can be added as required if they also have
this bug.

Signed-off-by: Jemma Denson &lt;jdenson@gmail.com&gt;
Signed-off-by: Mauro Carvalho Chehab &lt;mchehab@osg.samsung.com&gt;
</content>
</entry>
<entry>
<title>[media] b2c2: Mismatch in config ifdefs for SkystarS2</title>
<updated>2015-06-09T21:37:56Z</updated>
<author>
<name>Jemma Denson</name>
</author>
<published>2015-05-21T09:29:23Z</published>
<link rel='alternate' type='text/html' href='https://git.0xinfinity.dev/distro/kernel.git/commit/?id=4b7574fb3cac1507b12af9f8e22d50cd1ec9673b'/>
<id>urn:sha1:4b7574fb3cac1507b12af9f8e22d50cd1ec9673b</id>
<content type='text'>
Compilation warning issued by kbuild test robot:
&gt;&gt; drivers/media/common/b2c2/flexcop-fe-tuner.c:31:12: warning: 'flexcop_fe_request_firmware' defined but not used [-Wunused-function]
    static int flexcop_fe_request_firmware(struct dvb_frontend *fe,

This patch fixes a mismatch in Kconfig define checks. One had a
check for just CX24120, the other is checking for both CX24120
and ISL6421.

Signed-off-by: Jemma Denson &lt;jdenson@gmail.com&gt;
Signed-off-by: Mauro Carvalho Chehab &lt;mchehab@osg.samsung.com&gt;
</content>
</entry>
<entry>
<title>[media] dvb: Get rid of typedev usage for enums</title>
<updated>2015-06-09T20:47:35Z</updated>
<author>
<name>Mauro Carvalho Chehab</name>
</author>
<published>2015-06-07T17:53:52Z</published>
<link rel='alternate' type='text/html' href='https://git.0xinfinity.dev/distro/kernel.git/commit/?id=0df289a209e02f0926042ab07d7d2595ea2d2e9b'/>
<id>urn:sha1:0df289a209e02f0926042ab07d7d2595ea2d2e9b</id>
<content type='text'>
The DVB API was originally defined using typedefs. This is against
Kernel CodingStyle, and there's no good usage here. While we can't
remove its usage on userspace, we can avoid its usage in Kernelspace.

So, let's do it.

This patch was generated by this shell script:

	for j in $(grep typedef include/uapi/linux/dvb/frontend.h |cut -d' ' -f 3); do for i in $(find drivers/media -name '*.[ch]' -type f) $(find drivers/staging/media -name '*.[ch]' -type f); do sed "s,${j}_t,enum $j," &lt;$i &gt;a &amp;&amp; mv a $i; done; done

While here, make CodingStyle fixes on the affected lines.

Signed-off-by: Mauro Carvalho Chehab &lt;mchehab@osg.samsung.com&gt;
Acked-by: Stefan Richter &lt;stefanr@s5r6.in-berlin.de&gt; # for drivers/media/firewire/*
</content>
</entry>
<entry>
<title>[media] b2c2: Reset no_base_addr on skystarS2 attach failure</title>
<updated>2015-05-18T20:48:13Z</updated>
<author>
<name>Jemma Denson</name>
</author>
<published>2015-05-15T18:40:29Z</published>
<link rel='alternate' type='text/html' href='https://git.0xinfinity.dev/distro/kernel.git/commit/?id=cf4f8114794cce3ccbf038c8ebcc16392caac485'/>
<id>urn:sha1:cf4f8114794cce3ccbf038c8ebcc16392caac485</id>
<content type='text'>
If set, all the other drivers reset no_base_addr on failure to
attach - git commit for this being added to some of them seems to
be eccd15aad72f774b2059f708bc422dbb8493bb30

This driver has been floating around outside the mainline for so
long it hasn't had this fix, so add it in.

Whilst here tidy surrounding code to fix style issues.

Signed-off-by: Jemma Denson &lt;jdenson@gmail.com&gt;
Signed-off-by: Patrick Boettcher &lt;patrick.boettcher@posteo.de&gt;
Signed-off-by: Mauro Carvalho Chehab &lt;mchehab@osg.samsung.com&gt;
</content>
</entry>
<entry>
<title>[media] cx24120: i2c-max-write-size is now configurable</title>
<updated>2015-05-18T19:32:35Z</updated>
<author>
<name>Patrick Boettcher</name>
</author>
<published>2015-04-28T05:47:42Z</published>
<link rel='alternate' type='text/html' href='https://git.0xinfinity.dev/distro/kernel.git/commit/?id=f7a77ebf08536da5cafd4494855001be74176efb'/>
<id>urn:sha1:f7a77ebf08536da5cafd4494855001be74176efb</id>
<content type='text'>
Some i2c-hosts are quite limited regarding maximum
i2c-burst-write-sizes. This patch makes the previously
hardcoded field configurable by users of the driver.

Signed-off-by: Patrick Boettcher &lt;patrick.boettcher@posteo.de&gt;
Signed-off-by: Mauro Carvalho Chehab &lt;mchehab@osg.samsung.com&gt;
</content>
</entry>
</feed>
