<feed xmlns='http://www.w3.org/2005/Atom'>
<title>linux.git/drivers/media/usb/b2c2, branch master</title>
<subtitle>Linux Kernel</subtitle>
<id>https://git.etezian.org/cgit.cgi/linux.git/atom?h=master</id>
<link rel='self' href='https://git.etezian.org/cgit.cgi/linux.git/atom?h=master'/>
<link rel='alternate' type='text/html' href='https://git.etezian.org/cgit.cgi/linux.git/'/>
<updated>2016-10-21T11:38:31+00:00</updated>
<entry>
<title>[media] b2c2: don't break long lines</title>
<updated>2016-10-21T11:38:31+00:00</updated>
<author>
<name>Mauro Carvalho Chehab</name>
<email>mchehab@s-opensource.com</email>
</author>
<published>2016-10-18T19:44:13+00:00</published>
<link rel='alternate' type='text/html' href='https://git.etezian.org/cgit.cgi/linux.git/commit/?id=4a58d39075e1e2bc5ca8b379278659d95f072363'/>
<id>urn:sha1:4a58d39075e1e2bc5ca8b379278659d95f072363</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-usb: don't use stack for DMA</title>
<updated>2016-10-14T15:52:29+00:00</updated>
<author>
<name>Mauro Carvalho Chehab</name>
<email>mchehab@s-opensource.com</email>
</author>
<published>2016-10-10T10:55:54+00:00</published>
<link rel='alternate' type='text/html' href='https://git.etezian.org/cgit.cgi/linux.git/commit/?id=b430eaba0be5eb7140d0065df96982fa6b5ccc1d'/>
<id>urn:sha1:b430eaba0be5eb7140d0065df96982fa6b5ccc1d</id>
<content type='text'>
The USB control messages require DMA to work. We cannot pass
a stack-allocated buffer, as it is not warranted that the
stack would be into a DMA enabled area.

While here, remove a dead function calling usb_control_msg().

Signed-off-by: Mauro Carvalho Chehab &lt;mchehab@s-opensource.com&gt;
</content>
</entry>
<entry>
<title>[media] media: change email address</title>
<updated>2016-01-25T14:01:08+00:00</updated>
<author>
<name>Patrick Boettcher</name>
<email>patrick.boettcher@posteo.de</email>
</author>
<published>2016-01-24T14:56:58+00:00</published>
<link rel='alternate' type='text/html' href='https://git.etezian.org/cgit.cgi/linux.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] drivers: media: usb: b2c2: use usb_*_coherent() instead of pci_*_consistent() in flexcop-usb.c</title>
<updated>2013-10-17T14:26:41+00:00</updated>
<author>
<name>Chen Gang</name>
<email>gang.chen@asianux.com</email>
</author>
<published>2013-09-23T02:20:48+00:00</published>
<link rel='alternate' type='text/html' href='https://git.etezian.org/cgit.cgi/linux.git/commit/?id=6c7e346974ad6d20898026f209581fb6dd8ce3f0'/>
<id>urn:sha1:6c7e346974ad6d20898026f209581fb6dd8ce3f0</id>
<content type='text'>
Some architectures do not support PCI, but still support USB, so need
let our usb driver try to use usb_* instead of pci_* to support these
architectures, or can not pass compiling.
The related error (with allmodconfig for arc):
    CC [M]  drivers/media/usb/b2c2/flexcop-usb.o
  drivers/media/usb/b2c2/flexcop-usb.c: In function ‘flexcop_usb_transfer_exit’:
  drivers/media/usb/b2c2/flexcop-usb.c:393: error: implicit declaration of function ‘pci_free_consistent’
  drivers/media/usb/b2c2/flexcop-usb.c: In function ‘flexcop_usb_transfer_init’:
  drivers/media/usb/b2c2/flexcop-usb.c:410: error: implicit declaration of function ‘pci_alloc_consistent’

Signed-off-by: Chen Gang &lt;gang.chen@asianux.com&gt;
Signed-off-by: Mauro Carvalho Chehab &lt;m.chehab@samsung.com&gt;
</content>
</entry>
<entry>
<title>[media] Kconfig: Fix b2c2 common code selection</title>
<updated>2012-08-21T11:38:31+00:00</updated>
<author>
<name>Mauro Carvalho Chehab</name>
<email>mchehab@redhat.com</email>
</author>
<published>2012-08-20T18:52:23+00:00</published>
<link rel='alternate' type='text/html' href='https://git.etezian.org/cgit.cgi/linux.git/commit/?id=01b0c11a1ba49ac96f58b7bc92772c2b469d6caa'/>
<id>urn:sha1:01b0c11a1ba49ac96f58b7bc92772c2b469d6caa</id>
<content type='text'>
As reported by Randy:

&gt; flexcop-pci.c:(.text+0x19af63): undefined reference to `flexcop_device_exit'
&gt; flexcop-pci.c:(.text+0x19af77): undefined reference to `flexcop_device_kfree'
&gt; flexcop-pci.c:(.text+0x19b10f): undefined reference to `flexcop_pass_dmx_packets'
&gt; flexcop-pci.c:(.text+0x19b182): undefined reference to `flexcop_pass_dmx_data'
&gt; flexcop-pci.c:(.text+0x19b1ae): undefined reference to `flexcop_pass_dmx_data'
&gt; flexcop-pci.c:(.text+0x19b1f8): undefined reference to `flexcop_device_kmalloc'
&gt; flexcop-pci.c:(.text+0x19b256): undefined reference to `flexcop_i2c_request'
&gt; flexcop-pci.c:(.text+0x19b261): undefined reference to `flexcop_eeprom_check_mac_addr'
&gt; flexcop-pci.c:(.text+0x19b2c6): undefined reference to `flexcop_device_initialize'
&gt; flexcop-pci.c:(.text+0x19b332): undefined reference to `flexcop_sram_set_dest'
&gt; flexcop-pci.c:(.text+0x19b348): undefined reference to `flexcop_sram_set_dest'
&gt; flexcop-pci.c:(.text+0x19b3f8): undefined reference to `flexcop_device_exit'
&gt; flexcop-pci.c:(.text+0x19b408): undefined reference to `flexcop_device_kfree'
&gt; flexcop-pci.c:(.text+0x19b4a2): undefined reference to `flexcop_pid_feed_control'
&gt; flexcop-pci.c:(.text+0x19b4d7): undefined reference to `flexcop_pid_feed_control'
&gt;
&gt; since it is possible to enable DVB_B2C2_FLEXCOP_PCI
&gt; when CONFIG_I2C is not enabled, but then DVB_B2C2_FLEXCOP
&gt; is not enabled because I2C is not enabled.

Reported-by: Randy Dunlap &lt;rdunlap@xenotime.net&gt;
Signed-off-by: Mauro Carvalho Chehab &lt;mchehab@redhat.com&gt;
</content>
</entry>
<entry>
<title>[media] flexcop: Show the item to enable debug after the driver</title>
<updated>2012-08-21T11:05:33+00:00</updated>
<author>
<name>Mauro Carvalho Chehab</name>
<email>mchehab@redhat.com</email>
</author>
<published>2012-08-20T19:49:23+00:00</published>
<link rel='alternate' type='text/html' href='https://git.etezian.org/cgit.cgi/linux.git/commit/?id=8511f8eaa86bb16e4e2bd5f30d5f12764f59ae8d'/>
<id>urn:sha1:8511f8eaa86bb16e4e2bd5f30d5f12764f59ae8d</id>
<content type='text'>
Instead of showing the option to show debug at the end, show
it after each driver.

Signed-off-by: Mauro Carvalho Chehab &lt;mchehab@redhat.com&gt;
</content>
</entry>
<entry>
<title>[media] Fix some Makefile rules</title>
<updated>2012-08-16T22:55:03+00:00</updated>
<author>
<name>Mauro Carvalho Chehab</name>
<email>mchehab@redhat.com</email>
</author>
<published>2012-08-16T19:57:21+00:00</published>
<link rel='alternate' type='text/html' href='https://git.etezian.org/cgit.cgi/linux.git/commit/?id=88f8472c9fc6c08f5113887471f1f4aabf7b2929'/>
<id>urn:sha1:88f8472c9fc6c08f5113887471f1f4aabf7b2929</id>
<content type='text'>
On a few places, := were using instead of +=, causing drivers to
not compile.

While here, standardize the usage of += on all cases where multiple
lines are needed, and for obj-y/obj-m targets, and := when just one
line is needed, on &lt;module&gt;-obj rules.

Reported-by: Hans Verkuil &lt;hverkuil@xs4all.nl&gt;
Identified-by: Antti Polosaari &lt;crope@iki.fi&gt;
Tested-by: Antti Palosaari &lt;crope@iki.fi&gt;
Signed-off-by: Mauro Carvalho Chehab &lt;mchehab@redhat.com&gt;
</content>
</entry>
<entry>
<title>[media] b2c2: frontends/tuners are not needed at the bridge binding</title>
<updated>2012-08-14T02:52:53+00:00</updated>
<author>
<name>Mauro Carvalho Chehab</name>
<email>mchehab@redhat.com</email>
</author>
<published>2012-08-14T02:43:08+00:00</published>
<link rel='alternate' type='text/html' href='https://git.etezian.org/cgit.cgi/linux.git/commit/?id=b3f52608ba7b4c231621d7e4e9e1bfd8a390f910'/>
<id>urn:sha1:b3f52608ba7b4c231621d7e4e9e1bfd8a390f910</id>
<content type='text'>
The frontends/tuners are used inside the common part of the driver.

Signed-off-by: Mauro Carvalho Chehab &lt;mchehab@redhat.com&gt;
</content>
</entry>
<entry>
<title>[media] common: move media/common/tuners to media/tuners</title>
<updated>2012-08-14T02:40:28+00:00</updated>
<author>
<name>Mauro Carvalho Chehab</name>
<email>mchehab@redhat.com</email>
</author>
<published>2012-06-14T19:35:59+00:00</published>
<link rel='alternate' type='text/html' href='https://git.etezian.org/cgit.cgi/linux.git/commit/?id=ccae7af2bf07dfef69cc2eb6ebc9e1ff15addfbd'/>
<id>urn:sha1:ccae7af2bf07dfef69cc2eb6ebc9e1ff15addfbd</id>
<content type='text'>
Move the tuners one level up, as the "common" directory will be used
by drivers that are shared between more than one driver.

Signed-off-by: Mauro Carvalho Chehab &lt;mchehab@redhat.com&gt;
</content>
</entry>
<entry>
<title>[media] b2c2: break it into common/pci/usb directories</title>
<updated>2012-08-14T02:38:31+00:00</updated>
<author>
<name>Mauro Carvalho Chehab</name>
<email>mchehab@redhat.com</email>
</author>
<published>2012-06-14T19:35:58+00:00</published>
<link rel='alternate' type='text/html' href='https://git.etezian.org/cgit.cgi/linux.git/commit/?id=3785bc170f79ef04129731582b468c28e1326d6d'/>
<id>urn:sha1:3785bc170f79ef04129731582b468c28e1326d6d</id>
<content type='text'>
b2c2 is, in fact, 2 drivers: one for PCI and one for USB, plus
a common bus-independent code. Break it accordingly.

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