<feed xmlns='http://www.w3.org/2005/Atom'>
<title>kernel.git/drivers/media/dvb-frontends, branch linux-5.5.y</title>
<subtitle>Hosts the 0x221E linux distro kernel.
</subtitle>
<id>https://git.0xinfinity.dev/distro/kernel.git/atom?h=linux-5.5.y</id>
<link rel='self' href='https://git.0xinfinity.dev/distro/kernel.git/atom?h=linux-5.5.y'/>
<link rel='alternate' type='text/html' href='https://git.0xinfinity.dev/distro/kernel.git/'/>
<updated>2019-10-16T15:24:30Z</updated>
<entry>
<title>media: cxd2841er: avoid too many status inquires</title>
<updated>2019-10-16T15:24:30Z</updated>
<author>
<name>Mauro Carvalho Chehab</name>
</author>
<published>2019-10-06T12:48:23Z</published>
<link rel='alternate' type='text/html' href='https://git.0xinfinity.dev/distro/kernel.git/commit/?id=d9aeaa6d4ca44df5fae745fd47aede8b3f6137f1'/>
<id>urn:sha1:d9aeaa6d4ca44df5fae745fd47aede8b3f6137f1</id>
<content type='text'>
I2C ops are expensive, as the I2C bus typical speed is 100kbps.

Also, stats reading take some time, as it requires to retrieve a
certain number of packets to complete.

While we don't know the minimal for CXD2841er, trying to do it
too quickly is still a very bad idea.

So, add some sanity logic there, preventing to retrieve stats
faster than one second.

This shouldn't cause any issues with well behavior apps, as they
usually take stats on a polling rate slower than 1 second.

Signed-off-by: Mauro Carvalho Chehab &lt;mchehab+samsung@kernel.org&gt;
Signed-off-by: Sean Young &lt;sean@mess.org&gt;
</content>
</entry>
<entry>
<title>media: mb86a20s: make the bit rate estimation function more generic</title>
<updated>2019-10-16T15:24:03Z</updated>
<author>
<name>Mauro Carvalho Chehab</name>
</author>
<published>2019-10-04T11:42:47Z</published>
<link rel='alternate' type='text/html' href='https://git.0xinfinity.dev/distro/kernel.git/commit/?id=75564e3a5016651f1c7f8eec63b557e24d6d1e17'/>
<id>urn:sha1:75564e3a5016651f1c7f8eec63b557e24d6d1e17</id>
<content type='text'>
While 99% of the implementation of the bitrate estimation
routine for ISDB-T is generic, the current approach mangles it
with some mb86a20s-specific thing.

Split the calculus from the specific stuff, in order to make
easier to use the same approach on other drivers requiring
a similar formula.

Signed-off-by: Mauro Carvalho Chehab &lt;mchehab+samsung@kernel.org&gt;
Signed-off-by: Sean Young &lt;sean@mess.org&gt;
</content>
</entry>
<entry>
<title>media: dvb-frontends: Use DIV_ROUND_CLOSEST directly to make it readable</title>
<updated>2019-10-16T14:47:14Z</updated>
<author>
<name>zhong jiang</name>
</author>
<published>2019-10-09T14:55:22Z</published>
<link rel='alternate' type='text/html' href='https://git.0xinfinity.dev/distro/kernel.git/commit/?id=727fe909af7545fc317cd1ead4678724ec87df0a'/>
<id>urn:sha1:727fe909af7545fc317cd1ead4678724ec87df0a</id>
<content type='text'>
The kernel.h macro DIV_ROUND_CLOSEST performs the computation (x + d/2)/d
but is perhaps more readable.

Signed-off-by: zhong jiang &lt;zhongjiang@huawei.com&gt;
Signed-off-by: Sean Young &lt;sean@mess.org&gt;
Signed-off-by: Mauro Carvalho Chehab &lt;mchehab+samsung@kernel.org&gt;
</content>
</entry>
<entry>
<title>media: si2168: use bits instead of bool for flags</title>
<updated>2019-10-10T10:05:51Z</updated>
<author>
<name>Mauro Carvalho Chehab</name>
</author>
<published>2019-10-04T12:15:36Z</published>
<link rel='alternate' type='text/html' href='https://git.0xinfinity.dev/distro/kernel.git/commit/?id=1c9b943cdcbd7646c71b51d830234c4b6529b0e7'/>
<id>urn:sha1:1c9b943cdcbd7646c71b51d830234c4b6529b0e7</id>
<content type='text'>
Using bool on struct is not recommended, as it wastes lots of
space. So, instead, let's use bits.

While here, convert the comments to kernel-doc format.

Signed-off-by: Mauro Carvalho Chehab &lt;mchehab+samsung@kernel.org&gt;
</content>
</entry>
<entry>
<title>media: dvb-frontends/tc90522: extend i2c algo to support some devices</title>
<updated>2019-10-07T10:50:41Z</updated>
<author>
<name>Akihiro Tsukada</name>
</author>
<published>2019-08-29T08:38:21Z</published>
<link rel='alternate' type='text/html' href='https://git.0xinfinity.dev/distro/kernel.git/commit/?id=ecf20d28ff7730d8d446c989eb1cf641ec6e28ce'/>
<id>urn:sha1:ecf20d28ff7730d8d446c989eb1cf641ec6e28ce</id>
<content type='text'>
This demod implements an i2c adapter for attached tuner
and relays i2c messages from users (dvb adapters / bridge chips).
Some of them, such as Friio dvb card using gl861,
require each pair of i2c messages for one read to be issued as
two separate transactions.
This patch adds a configuration option to enable this split.

Signed-off-by: Akihiro Tsukada &lt;tskd08@gmail.com&gt;
Signed-off-by: Sean Young &lt;sean@mess.org&gt;
Signed-off-by: Mauro Carvalho Chehab &lt;mchehab+samsung@kernel.org&gt;
</content>
</entry>
<entry>
<title>media: drxj: remove redundant assignment to variable rc</title>
<updated>2019-10-07T10:46:01Z</updated>
<author>
<name>Colin Ian King</name>
</author>
<published>2019-08-01T16:09:58Z</published>
<link rel='alternate' type='text/html' href='https://git.0xinfinity.dev/distro/kernel.git/commit/?id=767f22ac54b696b2b40f87cad08f877fe3ec2264'/>
<id>urn:sha1:767f22ac54b696b2b40f87cad08f877fe3ec2264</id>
<content type='text'>
The variable rc is being initialized with a value that is never
read and it is being updated later with a new value. The
initialization is redundant and can be removed.

Addresses-Coverity: ("Unused value")

Signed-off-by: Colin Ian King &lt;colin.king@canonical.com&gt;
Signed-off-by: Sean Young &lt;sean@mess.org&gt;
Signed-off-by: Mauro Carvalho Chehab &lt;mchehab+samsung@kernel.org&gt;
</content>
</entry>
<entry>
<title>media: cxd2820r: make arrays tab static const, makes object smaller</title>
<updated>2019-10-07T10:43:14Z</updated>
<author>
<name>Colin Ian King</name>
</author>
<published>2019-09-05T17:57:26Z</published>
<link rel='alternate' type='text/html' href='https://git.0xinfinity.dev/distro/kernel.git/commit/?id=ed4e15697b5fda94e65af1ecb272cd1388192bd6'/>
<id>urn:sha1:ed4e15697b5fda94e65af1ecb272cd1388192bd6</id>
<content type='text'>
Don't populate the array tab on the stack but instead make it
static const. Makes the object size smaller by 170 bytes in total.

Before:
   text    data     bss     dec     hex filename
   7045    1736       0    8781    224d media/dvb-frontends/cxd2820r_c.o
   8800	   2216	      0	  11016	   2b08	media/dvb-frontends/cxd2820r_t.o
   8981	   2120	      0	  11101	   2b5d	media/dvb-frontends/cxd2820r_t2.o

After:
   text    data     bss     dec     hex filename
   6896    1832       0    8728    2218 media/dvb-frontends/cxd2820r_c.o
   8651	   2312	      0	  10963	   2ad3	media/dvb-frontends/cxd2820r_t.o
   8853	   2184	      0	  11037	   2b1d	media/dvb-frontends/cxd2820r_t2.o

(gcc version 9.2.1, amd64)

Signed-off-by: Colin Ian King &lt;colin.king@canonical.com&gt;
Signed-off-by: Sean Young &lt;sean@mess.org&gt;
Signed-off-by: Mauro Carvalho Chehab &lt;mchehab+samsung@kernel.org&gt;
</content>
</entry>
<entry>
<title>media: don't do a 31 bit shift on a signed int</title>
<updated>2019-08-26T17:11:10Z</updated>
<author>
<name>Mauro Carvalho Chehab</name>
</author>
<published>2019-08-22T14:16:42Z</published>
<link rel='alternate' type='text/html' href='https://git.0xinfinity.dev/distro/kernel.git/commit/?id=95c520690f5fafb2cda2ec17f8c76ab3422b0174'/>
<id>urn:sha1:95c520690f5fafb2cda2ec17f8c76ab3422b0174</id>
<content type='text'>
On 32-bits archs, a signed integer has 31 bits plus on extra
bit for signal. Due to that, touching the 32th bit with something
like:

	int bar = 1 &lt;&lt; 31;

has an undefined behavior in C on 32 bit architectures, as it
touches the signal bit. This is warned by cppcheck.

Instead, force the numbers to be unsigned, in order to solve this
issue.

Signed-off-by: Mauro Carvalho Chehab &lt;mchehab+samsung@kernel.org&gt;
</content>
</entry>
<entry>
<title>media: dvb-frontends/cxd2099: Make en_templ constant</title>
<updated>2019-08-21T21:39:55Z</updated>
<author>
<name>Nishka Dasgupta</name>
</author>
<published>2019-08-19T07:47:01Z</published>
<link rel='alternate' type='text/html' href='https://git.0xinfinity.dev/distro/kernel.git/commit/?id=6f005abb00848556a6bff1d3bc8a76f7dc2f9c24'/>
<id>urn:sha1:6f005abb00848556a6bff1d3bc8a76f7dc2f9c24</id>
<content type='text'>
Static structure en_templ, of type dvb_ca_en50221, is not used except to
be copied into a local variable. Hence make it const to prevent
unintended modification of the original fields.
Issue found with Coccinelle.

Signed-off-by: Nishka Dasgupta &lt;nishkadg.linux@gmail.com&gt;
Signed-off-by: Sean Young &lt;sean@mess.org&gt;
Signed-off-by: Mauro Carvalho Chehab &lt;mchehab+samsung@kernel.org&gt;
</content>
</entry>
<entry>
<title>media: dvb-frontends: fix a memory leak bug</title>
<updated>2019-08-21T21:39:54Z</updated>
<author>
<name>Wenwen Wang</name>
</author>
<published>2019-08-17T07:04:04Z</published>
<link rel='alternate' type='text/html' href='https://git.0xinfinity.dev/distro/kernel.git/commit/?id=2f6451ed8b5223a28eab81116dd2f901c0dc9f4a'/>
<id>urn:sha1:2f6451ed8b5223a28eab81116dd2f901c0dc9f4a</id>
<content type='text'>
In cx24117_load_firmware(), 'buf' is allocated through kmalloc() to hold
the firmware. However, if i2c_transfer() fails, it is not deallocated,
leading to a memory leak bug.

Signed-off-by: Wenwen Wang &lt;wenwen@cs.uga.edu&gt;
Signed-off-by: Sean Young &lt;sean@mess.org&gt;
Signed-off-by: Mauro Carvalho Chehab &lt;mchehab+samsung@kernel.org&gt;
</content>
</entry>
</feed>
