<feed xmlns='http://www.w3.org/2005/Atom'>
<title>kernel.git/drivers/media/dvb-frontends, branch linux-4.13.y</title>
<subtitle>Hosts the 0x221E linux distro kernel.
</subtitle>
<id>https://git.0xinfinity.dev/distro/kernel.git/atom?h=linux-4.13.y</id>
<link rel='self' href='https://git.0xinfinity.dev/distro/kernel.git/atom?h=linux-4.13.y'/>
<link rel='alternate' type='text/html' href='https://git.0xinfinity.dev/distro/kernel.git/'/>
<updated>2017-10-27T08:39:12Z</updated>
<entry>
<title>media: dvb: i2c transfers over usb cannot be done from stack</title>
<updated>2017-10-27T08:39:12Z</updated>
<author>
<name>Sean Young</name>
</author>
<published>2017-09-02T11:42:42Z</published>
<link rel='alternate' type='text/html' href='https://git.0xinfinity.dev/distro/kernel.git/commit/?id=219db7f1756fd50c1507e175655a3887eca95a63'/>
<id>urn:sha1:219db7f1756fd50c1507e175655a3887eca95a63</id>
<content type='text'>
commit b4756707152700c96acdfe149cb1ca4cec306c7a upstream.

Since commit 29d2fef8be11 ("usb: catch attempts to submit urbs
with a vmalloc'd transfer buffer"), the AverMedia AverTV DVB-T
USB 2.0 (a800) fails to probe.

Signed-off-by: Sean Young &lt;sean@mess.org&gt;
Signed-off-by: Mauro Carvalho Chehab &lt;mchehab@s-opensource.com&gt;
Signed-off-by: Greg Kroah-Hartman &lt;gregkh@linuxfoundation.org&gt;

</content>
</entry>
<entry>
<title>media: dvb-frontends/stv0367: Improve DVB-C/T frontend status</title>
<updated>2017-06-25T13:48:45Z</updated>
<author>
<name>Mauro Carvalho Chehab</name>
</author>
<published>2017-06-25T11:26:43Z</published>
<link rel='alternate' type='text/html' href='https://git.0xinfinity.dev/distro/kernel.git/commit/?id=430e29d9c0f65d9653a0b7f7a56f1c6cd374b84b'/>
<id>urn:sha1:430e29d9c0f65d9653a0b7f7a56f1c6cd374b84b</id>
<content type='text'>
The stv0367 driver provide a lot of status on its state machine.
Change the logic to provide more information about frontend locking
status. Also, while any detailed status isn't available, provide a more
complete FE_STATUS for DVB-T.

Signed-off-by: Mauro Carvalho Chehab &lt;mchehab@s-opensource.com&gt;
Signed-off-by: Daniel Scheller &lt;d.scheller@gmx.net&gt;
</content>
</entry>
<entry>
<title>media: dvb-frontends/stv0367: DVB-C signal strength statistics</title>
<updated>2017-06-25T12:10:44Z</updated>
<author>
<name>Daniel Scheller</name>
</author>
<published>2017-06-25T11:26:45Z</published>
<link rel='alternate' type='text/html' href='https://git.0xinfinity.dev/distro/kernel.git/commit/?id=006fe8ee884a70f8014034fe67a8ea70c4bdbcac'/>
<id>urn:sha1:006fe8ee884a70f8014034fe67a8ea70c4bdbcac</id>
<content type='text'>
Provide QAM/DVB-C signal strength in decibel scale. Values returned from
stv0367cab_get_rf_lvl() are good but need to be multiplied as they're in
1dBm precision.

Signed-off-by: Daniel Scheller &lt;d.scheller@gmx.net&gt;
Signed-off-by: Mauro Carvalho Chehab &lt;mchehab@s-opensource.com&gt;
</content>
</entry>
<entry>
<title>media: dvb-frontends/stv0367: update UCB readout condition logic</title>
<updated>2017-06-25T12:10:06Z</updated>
<author>
<name>Daniel Scheller</name>
</author>
<published>2017-06-25T11:26:46Z</published>
<link rel='alternate' type='text/html' href='https://git.0xinfinity.dev/distro/kernel.git/commit/?id=87b467107438423b4dcbcece7ec1bced57992b25'/>
<id>urn:sha1:87b467107438423b4dcbcece7ec1bced57992b25</id>
<content type='text'>
Since the other statistics are read when fe_status conditions are TRUE,
change the ucblocks readout logic to match this aswell.

Signed-off-by: Daniel Scheller &lt;d.scheller@gmx.net&gt;
Signed-off-by: Mauro Carvalho Chehab &lt;mchehab@s-opensource.com&gt;
</content>
</entry>
<entry>
<title>media: stv0367: prevent division by zero</title>
<updated>2017-06-25T12:07:45Z</updated>
<author>
<name>Mauro Carvalho Chehab</name>
</author>
<published>2017-06-25T12:07:45Z</published>
<link rel='alternate' type='text/html' href='https://git.0xinfinity.dev/distro/kernel.git/commit/?id=f5a1ba833ddfd801b4adc463b0705938a8ff632f'/>
<id>urn:sha1:f5a1ba833ddfd801b4adc463b0705938a8ff632f</id>
<content type='text'>
While there's a test at the SNR calculus to avoid division by
zero, it will still follow the path that would do the division.
So, add a missing break there.

Signed-off-by: Mauro Carvalho Chehab &lt;mchehab@s-opensource.com&gt;
</content>
</entry>
<entry>
<title>media: dvb-frontends/stv0367: SNR DVBv5 statistics for DVB-C and T</title>
<updated>2017-06-25T12:06:32Z</updated>
<author>
<name>Daniel Scheller</name>
</author>
<published>2017-06-25T11:26:44Z</published>
<link rel='alternate' type='text/html' href='https://git.0xinfinity.dev/distro/kernel.git/commit/?id=d394ad12c2e0354a18e34ad803f685b795b01fc4'/>
<id>urn:sha1:d394ad12c2e0354a18e34ad803f685b795b01fc4</id>
<content type='text'>
Add signal-to-noise-ratio as provided by the demodulator in decibel scale.
QAM/DVB-C needs some intlog calculation to have usable dB values, OFDM/
DVB-T values from the demod look alright already and are provided as-is.

Signed-off-by: Daniel Scheller &lt;d.scheller@gmx.net&gt;
Signed-off-by: Mauro Carvalho Chehab &lt;mchehab@s-opensource.com&gt;
</content>
</entry>
<entry>
<title>media: dvb-frontends/cxd2841er: require STATE_ACTIVE_* for agc readout</title>
<updated>2017-06-25T12:05:26Z</updated>
<author>
<name>Daniel Scheller</name>
</author>
<published>2017-06-25T10:02:22Z</published>
<link rel='alternate' type='text/html' href='https://git.0xinfinity.dev/distro/kernel.git/commit/?id=8982735f8dd02096b75255e3c0a0df28aeaa9955'/>
<id>urn:sha1:8982735f8dd02096b75255e3c0a0df28aeaa9955</id>
<content type='text'>
When the demod driver puts the demod into sleep or shutdown state and it's
status is then polled e.g. via "dvb-fe-tool -m", i2c errors are printed
to the kernel log. If the last delsys was DVB-T/T2:

  cxd2841er: i2c wr failed=-5 addr=6c reg=00 len=1
  cxd2841er: i2c rd failed=-5 addr=6c reg=26

and if it was DVB-C:

  cxd2841er: i2c wr failed=-5 addr=6c reg=00 len=1
  cxd2841er: i2c rd failed=-5 addr=6c reg=49

This happens when read_status unconditionally calls into the
read_signal_strength() function which triggers the read_agc_gain_*()
functions, where these registered are polled.

This isn't a critical thing since when the demod is active again, no more
such errors are logged, however this might make users suspecting defects.

Fix this by requiring STATE_ACTIVE_* in priv-&gt;state. If it isn't in any
active state, additionally set the strength scale to NOT_AVAILABLE.

Signed-off-by: Daniel Scheller &lt;d.scheller@gmx.net&gt;
Signed-off-by: Mauro Carvalho Chehab &lt;mchehab@s-opensource.com&gt;
</content>
</entry>
<entry>
<title>media: dvb-frontends/stv0367: split SNR determination into functions</title>
<updated>2017-06-24T20:42:47Z</updated>
<author>
<name>Daniel Scheller</name>
</author>
<published>2017-06-21T19:45:42Z</published>
<link rel='alternate' type='text/html' href='https://git.0xinfinity.dev/distro/kernel.git/commit/?id=b138afda3ca0450bcdbe4dd743b1952ea591a331'/>
<id>urn:sha1:b138afda3ca0450bcdbe4dd743b1952ea591a331</id>
<content type='text'>
The read_snr() functions currently do some magic to return relative scale
values when called. Split out register readouts into separate functions
so the functionality can be reused in some other way.

Signed-off-by: Daniel Scheller &lt;d.scheller@gmx.net&gt;
Signed-off-by: Mauro Carvalho Chehab &lt;mchehab@s-opensource.com&gt;
</content>
</entry>
<entry>
<title>media: dvb-frontends/stv0367: initial DDB DVBv5 stats, implement ucblocks</title>
<updated>2017-06-24T20:42:18Z</updated>
<author>
<name>Daniel Scheller</name>
</author>
<published>2017-06-21T19:45:41Z</published>
<link rel='alternate' type='text/html' href='https://git.0xinfinity.dev/distro/kernel.git/commit/?id=4043eb2325f2e8b66ed9b6dd75cbd00420489de0'/>
<id>urn:sha1:4043eb2325f2e8b66ed9b6dd75cbd00420489de0</id>
<content type='text'>
This adds the basics to stv0367ddb_read_status() to be able to properly
provide signal statistics in DVBv5 format. Also adds UCB readout and
provides those values. Also, don't return -EINVAL in ddb_read_status()
if active_demod_state indicates no delivery system.

Signed-off-by: Daniel Scheller &lt;d.scheller@gmx.net&gt;
Signed-off-by: Mauro Carvalho Chehab &lt;mchehab@s-opensource.com&gt;
</content>
</entry>
<entry>
<title>media: dvb-frontends/lnbh25: improve kernellog output</title>
<updated>2017-06-24T20:05:19Z</updated>
<author>
<name>Daniel Scheller</name>
</author>
<published>2017-06-20T19:57:24Z</published>
<link rel='alternate' type='text/html' href='https://git.0xinfinity.dev/distro/kernel.git/commit/?id=e1bdf02488c98841484b28cea5b951701015948c'/>
<id>urn:sha1:e1bdf02488c98841484b28cea5b951701015948c</id>
<content type='text'>
Use dev_dbg() in conjunction with the %*ph format macro to print the vmon
status debug, thus hiding continuous hexdumping from default log levels.
Also, change the attach success log line from error to info severity.

Signed-off-by: Daniel Scheller &lt;d.scheller@gmx.net&gt;
Acked-by: Abylay Ospan &lt;aospan@netup.ru&gt;
Signed-off-by: Mauro Carvalho Chehab &lt;mchehab@s-opensource.com&gt;
</content>
</entry>
</feed>
