From: Mauro Carvalho Chehab m.che...@samsung.com
In the lack of a better spec, let's assume the timeout
values compatible with SMBus spec:
http://smbus.org/specs/smbus110.pdf
at chapter 8 - Electrical Characteristics of SMBus devices
Ok, SMBus is a subset of I2C, and not all devices
From: Mauro Carvalho Chehab m.che...@samsung.com
In order to make easier for the next patches, do some
cosmetic changes.
No functional changes.
Signed-off-by: Mauro Carvalho Chehab m.che...@samsung.com
---
drivers/media/usb/em28xx/em28xx-cards.c | 2 +-
drivers/media/usb/em28xx/em28xx-video.c
From: Mauro Carvalho Chehab m.che...@samsung.com
There are several init code inside em28xx-cards that are actually
part of analog initialization. Move the code to em28x-video, in
order to remove part of the mess.
In thesis, no functional changes so far.
Signed-off-by: Mauro Carvalho Chehab
From: Mauro Carvalho Chehab m.che...@samsung.com
Better to first write the GPIOs of the input mux, before initializing
the audio.
Signed-off-by: Mauro Carvalho Chehab m.che...@samsung.com
---
drivers/media/usb/em28xx/em28xx-video.c | 42 -
1 file changed, 20
From: Mauro Carvalho Chehab m.che...@samsung.com
Add a message with consistent prints before and after each
extension initialization, and provide a better text for module
load.
While here, add a missing sanity check for extension finish
code at em28xx-v4l extension.
Signed-off-by: Mauro
From: Mauro Carvalho Chehab m.che...@samsung.com
Since sometimes em28xx is returning 0x02 or 0x04 at the I2C status
register, output what's the returned status:
[ 1090.939820] em2882/3 #0: write to i2c device at 0xc2 timed out (ret=0x04)
[ 1090.939826] xc2028 19-0061: Error on line 1290: -5
[
From: Mauro Carvalho Chehab m.che...@samsung.com
Use the same module version on all em28xx sub-modules, and use
the same naming convention to describe the driver.
Signed-off-by: Mauro Carvalho Chehab m.che...@samsung.com
---
drivers/media/usb/em28xx/em28xx-audio.c | 3 ++-
From: Mauro Carvalho Chehab m.che...@samsung.com
Now that we want to split the video handling to a separate
module, move all video-specific functions to em28xx-video.
No functional changes.
Signed-off-by: Mauro Carvalho Chehab m.che...@samsung.com
---
drivers/media/usb/em28xx/em28xx-cards.c |
From: Mauro Carvalho Chehab m.che...@samsung.com
In order to initialize the analog tuner, v4l2 should be registere
first, or otherwise we get an oops:
[ 51.783537] BUG: unable to handle kernel NULL pointer dereference at)
[ 51.784479] IP: [81319fbb] __list_add+0x1b/0xc0
[
From: Mauro Carvalho Chehab m.che...@samsung.com
Now that all analog-specific code are at em28xx-video, convert
it into an em28xx extension and load it as a separate module.
Signed-off-by: Mauro Carvalho Chehab m.che...@samsung.com
---
drivers/media/usb/em28xx/Kconfig | 6 ++-
From: Mauro Carvalho Chehab m.che...@samsung.com
The I2C output messages is too polluted. Clean it a little
bit, by:
- use the proper core support for memory dumps;
- hide most stuff under the i2c_debug umbrella;
- add the missing KERN_CONT where needed;
- use 2
From: Mauro Carvalho Chehab m.che...@samsung.com
As V4L2 registration now occurs asynchronously, the code doesn't
fail there anymore.
Signed-off-by: Mauro Carvalho Chehab m.che...@samsung.com
---
drivers/media/usb/em28xx/em28xx-cards.c | 14 ++
1 file changed, 2 insertions(+), 12
From: Mauro Carvalho Chehab m.che...@samsung.com
Instead of using two I2C operations between write and read,
use just one i2c_transfer. That allows I2C mutexes to not
let any other I2C transfer between the two.
Signed-off-by: Mauro Carvalho Chehab m.che...@samsung.com
---
From: Mauro Carvalho Chehab m.che...@samsung.com
changeset 45f04e82d035 added a logic to check if em28xx got
a timeout on an I2C transfer.
That patch started to produce a series of errors that is present
with HVR-950, like:
[ 4032.218656] xc2028 19-0061: Error on line 1299: -19
However, as
From: Mauro Carvalho Chehab m.che...@samsung.com
The I2C wait completion/timeout logic currently assumes that
msleep(5) will wait exaclty 5 ms. This is not true at all,
as it depends on CONFIG_HZ.
Convert it to use jiffies, in order to not wait for more time
than needed.
Signed-off-by: Mauro
From: Mauro Carvalho Chehab m.che...@samsung.com
Better to split chipset detection from the audio setup.
Signed-off-by: Mauro Carvalho Chehab m.che...@samsung.com
---
drivers/media/usb/em28xx/em28xx-cards.c | 11 +++
drivers/media/usb/em28xx/em28xx-core.c | 12 +---
2 files
From: Mauro Carvalho Chehab m.che...@samsung.com
Instead of assuming that msleep() is precise, use a jiffies
based code to wait for AC97 to be available.
Signed-off-by: Mauro Carvalho Chehab m.che...@samsung.com
---
drivers/media/usb/em28xx/em28xx-core.c | 7 +--
From: Mauro Carvalho Chehab m.che...@samsung.com
Don't use dvb at em28xx v4l module. This was due to a cut
and paste from em28xx-dvb extension.
Signed-off-by: Mauro Carvalho Chehab m.che...@samsung.com
---
drivers/media/usb/em28xx/em28xx-video.c | 8
1 file changed, 4 insertions(+), 4
From: Mauro Carvalho Chehab m.che...@samsung.com
This macro is not used. remove it.
Signed-off-by: Mauro Carvalho Chehab m.che...@samsung.com
---
drivers/media/tuners/tuner-xc2028.c | 9 -
1 file changed, 9 deletions(-)
diff --git a/drivers/media/tuners/tuner-xc2028.c
This patch series split em28xx into a separate V4L2 driver,
allowing the new dvb-only chips to be supported without requiring
V4L2.
While testing the original patchset, I noticed several issues with
HVR-950. The remaining patches on this series fix most of those
issues.
There's one remaining
From: Mauro Carvalho Chehab m.che...@samsung.com
At least on HVR-950, sometimes an I2C operation fails.
This seems to be more frequent when the device is connected
into an USB 3.0 port.
Instead of report an error, try to repeat it, for up to
20 ms. That makes the code more reliable.
From: Mauro Carvalho Chehab m.che...@samsung.com
gcc knows nothing about jiffies. So, it produces this error:
drivers/media/usb/em28xx/em28xx-i2c.c: In function
‘em28xx_i2c_recv_bytes’:
drivers/media/usb/em28xx/em28xx-i2c.c:274:5: warning: ‘ret’ may be used
uninitialized in
From: Mauro Carvalho Chehab m.che...@samsung.com
The recent changes in the USB API (implement new semantics for
URB_ISO_ASAP) made the former meaning of the URB_ISO_ASAP flag the
default, and changed this flag to mean that URBs can be delayed.
This is not the behaviour wanted by any of the audio
From: Mauro Carvalho Chehab m.che...@samsung.com
-ENODEV reports a permanent condition where a device is not found.
Except during device detection, this is not the case of I2C
transfer timeout errors.
So, change them to return -EIO instead.
Signed-off-by: Mauro Carvalho Chehab
From: Mauro Carvalho Chehab m.che...@samsung.com
When em28xx extensions are loaded/removed, there are two locks:
a single static em28xx_devlist_mutex that registers each extension
and the struct em28xx dev-lock.
When extensions are registered, em28xx_devlist_mutex is taken first,
and then
On 12/28/2013 01:16 PM, Mauro Carvalho Chehab wrote:
From: Mauro Carvalho Chehab m.che...@samsung.com
The recent changes in the USB API (implement new semantics for
URB_ISO_ASAP) made the former meaning of the URB_ISO_ASAP flag the
default, and changed this flag to mean that URBs can be
On 12/13/2013 01:26 PM, Hans Verkuil wrote:
This patch series adds the new radio-raremono driver for the USB
'Thanko's Raremono' AM/FM/SW receiver.
Since it (ab)uses the same USB IDs as the si470x SiLabs Reference
Design I had to add additional checks to si470x to tell the two apart.
Em Sat, 28 Dec 2013 13:26:00 +0100
Hans Verkuil hverk...@xs4all.nl escreveu:
On 12/28/2013 01:16 PM, Mauro Carvalho Chehab wrote:
From: Mauro Carvalho Chehab m.che...@samsung.com
The recent changes in the USB API (implement new semantics for
URB_ISO_ASAP) made the former meaning of the
Has anyone developed any tuner driver for Broadcom chip such as
BCM 4505 or BCM4506?
J.
--
To unsubscribe from this list: send the line unsubscribe linux-media in
the body of a message to majord...@vger.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Signed-off-by: André Roth neol...@gmail.com
---
lib/libdvbv5/descriptors.c | 2 +-
lib/libdvbv5/descriptors/mpeg_pes.c | 2 +-
2 files changed, 2 insertions(+), 2 deletions(-)
diff --git a/lib/libdvbv5/descriptors.c b/lib/libdvbv5/descriptors.c
index 6df8b8b..b5bc9b2 100644
---
Signed-off-by: André Roth neol...@gmail.com
---
lib/libdvbv5/dvb-scan.c | 18 +++---
1 file changed, 11 insertions(+), 7 deletions(-)
diff --git a/lib/libdvbv5/dvb-scan.c b/lib/libdvbv5/dvb-scan.c
index e9ccc72..af3a052 100644
--- a/lib/libdvbv5/dvb-scan.c
+++
Signed-off-by: André Roth neol...@gmail.com
---
lib/libdvbv5/dvb-file.c | 1 +
lib/libdvbv5/dvb-sat.c | 1 +
lib/libdvbv5/dvb-scan.c | 1 +
lib/libdvbv5/parse_string.c | 1 +
4 files changed, 4 insertions(+)
diff --git a/lib/libdvbv5/dvb-file.c b/lib/libdvbv5/dvb-file.c
index
Signed-off-by: André Roth neol...@gmail.com
---
lib/libdvbv5/Makefile.am | 3 +--
1 file changed, 1 insertion(+), 2 deletions(-)
diff --git a/lib/libdvbv5/Makefile.am b/lib/libdvbv5/Makefile.am
index 368baf8..dc5005f 100644
--- a/lib/libdvbv5/Makefile.am
+++ b/lib/libdvbv5/Makefile.am
@@ -47,7
Signed-off-by: André Roth neol...@gmail.com
---
lib/include/descriptors/mpeg_ts.h | 4 ++--
lib/libdvbv5/descriptors/mpeg_ts.c | 11 ---
2 files changed, 10 insertions(+), 5 deletions(-)
diff --git a/lib/include/descriptors/mpeg_ts.h
b/lib/include/descriptors/mpeg_ts.h
index
Signed-off-by: André Roth neol...@gmail.com
---
lib/include/descriptors/atsc_eit.h | 91 +
lib/include/descriptors/atsc_header.h | 64 +++
lib/include/descriptors/mgt.h | 25 +++---
lib/include/descriptors/vct.h | 39 -
Signed-off-by: André Roth neol...@gmail.com
---
lib/libdvbv5/descriptors/eit.c | 5 ++---
1 file changed, 2 insertions(+), 3 deletions(-)
diff --git a/lib/libdvbv5/descriptors/eit.c b/lib/libdvbv5/descriptors/eit.c
index d13b14c..e70cf3b 100644
--- a/lib/libdvbv5/descriptors/eit.c
+++
Signed-off-by: André Roth neol...@gmail.com
---
lib/libdvbv5/dvb-scan.c | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/lib/libdvbv5/dvb-scan.c b/lib/libdvbv5/dvb-scan.c
index bd9d2fb..6f3def6 100644
--- a/lib/libdvbv5/dvb-scan.c
+++ b/lib/libdvbv5/dvb-scan.c
@@ -208,7 +208,7
Signed-off-by: André Roth neol...@gmail.com
---
lib/libdvbv5/dvb-scan.c | 4
1 file changed, 4 insertions(+)
diff --git a/lib/libdvbv5/dvb-scan.c b/lib/libdvbv5/dvb-scan.c
index 76712d4..9751f9d 100644
--- a/lib/libdvbv5/dvb-scan.c
+++ b/lib/libdvbv5/dvb-scan.c
@@ -96,6 +96,10 @@ int
Signed-off-by: André Roth neol...@gmail.com
---
lib/include/descriptors.h | 6 ++
lib/include/descriptors/eit.h | 1 +
lib/include/dvb-fe.h | 2 ++
lib/libdvbv5/descriptors.c | 1 +
lib/libdvbv5/descriptors/eit.c | 28 +++-
lib/libdvbv5/dvb-fe.c
Signed-off-by: André Roth neol...@gmail.com
---
lib/include/descriptors/mgt.h | 82 ++
lib/libdvbv5/Makefile.am | 1 +
lib/libdvbv5/descriptors.c | 1 +
lib/libdvbv5/descriptors/mgt.c | 113 +
4 files changed, 197
Signed-off-by: André Roth neol...@gmail.com
---
lib/include/descriptors.h| 4 +-
lib/include/descriptors/desc_service_location.h | 70 +++
lib/include/descriptors/vct.h| 5 +-
lib/libdvbv5/Makefile.am | 3
Signed-off-by: André Roth neol...@gmail.com
---
lib/include/descriptors/mpeg_es.h | 109 ++
lib/include/descriptors/mpeg_pes.h | 112 ++
lib/include/descriptors/mpeg_ts.h | 79 ++
lib/include/descriptors/nit.h
On Thu, 2013-12-26 at 06:57 -0600, Scott Robinson wrote:
The machine with which I encountered this problem has two HVR-1600
cards. I moved one card to another machine. The card still fails at
the same point. I ran memtest, which passed. The machine has about 3GB
memory free. I loaded other
The correct lock values is when bits of the value 0xee are set.
Signed-off-by: Malcolm Priestley tvbox...@gmail.com
---
drivers/media/dvb-frontends/m88rs2000.c | 4 ++--
1 file changed, 2 insertions(+), 2 deletions(-)
diff --git a/drivers/media/dvb-frontends/m88rs2000.c
Register 0x70 is used to set fec, register 0x76 is used to get fec
Register 0x76 is set to 0x8.
Signed-off-by: Malcolm Priestley tvbox...@gmail.com
---
drivers/media/dvb-frontends/m88rs2000.c | 37 +
1 file changed, 19 insertions(+), 18 deletions(-)
diff --git
Value of fec is achieved by the upper nibble bits 6,7 8.
Signed-off-by: Malcolm Priestley tvbox...@gmail.com
---
drivers/media/dvb-frontends/m88rs2000.c | 14 --
1 file changed, 8 insertions(+), 6 deletions(-)
diff --git a/drivers/media/dvb-frontends/m88rs2000.c
I am writing regarding Mr. Mike Slegeir's patch 11200, which is listed
with a 'State: Not Applicable.'
I downloaded dvb-apps using hg on an x86_64 Fedora 20 system. The
compiled atsc_epg failed as described:
/usr/bin/atsc_epg -f # -t -p 3
tuning to # Hz, please wait...
tuner
On Fri, 2013-12-27 at 00:37 -0500, Andy wrote:
I am trying to capture input from /dev/video0 which is Hauppauge Win
150 MCE PCI card but I get the following error which has no record on
google
[video4linux2,v4l2 @ 0xb080d60] The device does not support the
streaming I/O method.
Em Sat, 28 Dec 2013 12:36:26 -0500
deadletterf...@att.net deadletterf...@att.net escreveu:
I am writing regarding Mr. Mike Slegeir's patch 11200, which is listed
with a 'State: Not Applicable.'
That only means that it is not applicable as a Kernel media patch.
All non-Kernel-media patches at
Dear Sirs
We are worldwide salvage buyers of all warranty returns electronic
goods,machinery,plant,vehicles etc
we buy surplus or damaged salvage items, including light aircraft and
helicopters worldwide
If you have anything to dispose of please email pictures and we will make you
an offer
Do some improvements for em28xx-audio:
- instead of allocating the transfer buffers directly, use
usb_alloc coherent. That helps to make it more compatible with arm.
- Move the code that allocates/deallocates URB audio buffers
to device init/finish code.
Mauro Carvalho Chehab (2):
From: Mauro Carvalho Chehab m.che...@samsung.com
Instead of allocating transfer buffers with kmalloc() use
usb_alloc_coherent().
That makes it work also with arm CPUs.
Signed-off-by: Mauro Carvalho Chehab m.che...@samsung.com
---
drivers/media/usb/em28xx/em28xx-audio.c | 31
Instead of allocating/deallocating URBs and transfer buffers
every time stream is started/stopped, just do it once.
That reduces the memory allocation pressure and makes the
code that start/stop streaming a way simpler.
Signed-off-by: Mauro Carvalho Chehab mche...@redhat.com
---
Em Sat, 28 Dec 2013 16:45:49 +0100
André Roth neol...@gmail.com escreveu:
Signed-off-by: André Roth neol...@gmail.com
---
lib/libdvbv5/dvb-scan.c | 18 +++---
1 file changed, 11 insertions(+), 7 deletions(-)
diff --git a/lib/libdvbv5/dvb-scan.c b/lib/libdvbv5/dvb-scan.c
index
Em Sat, 28 Dec 2013 16:45:50 +0100
André Roth neol...@gmail.com escreveu:
Signed-off-by: André Roth neol...@gmail.com
---
lib/include/descriptors.h| 4 +-
lib/include/descriptors/desc_service_location.h | 70 +++
lib/include/descriptors/vct.h
Em Sat, 28 Dec 2013 16:45:52 +0100
André Roth neol...@gmail.com escreveu:
Signed-off-by: André Roth neol...@gmail.com
---
lib/libdvbv5/dvb-scan.c | 4
1 file changed, 4 insertions(+)
diff --git a/lib/libdvbv5/dvb-scan.c b/lib/libdvbv5/dvb-scan.c
index 76712d4..9751f9d 100644
---
This message is generated daily by a cron job that builds media_tree for
the kernels and architectures in the list below.
Results of the daily build of media_tree:
date: Sun Dec 29 04:00:16 CET 2013
git branch: test
git hash: 7d459937dc09bb8e448d9985ec4623779427d8a5
gcc
Em Sat, 28 Dec 2013 16:45:51 +0100
André Roth neol...@gmail.com escreveu:
Signed-off-by: André Roth neol...@gmail.com
---
lib/include/descriptors/mpeg_es.h | 109 ++
lib/include/descriptors/mpeg_pes.h | 112 ++
Em Sat, 28 Dec 2013 16:45:53 +0100
André Roth neol...@gmail.com escreveu:
Signed-off-by: André Roth neol...@gmail.com
---
lib/include/descriptors.h | 6 ++
lib/include/descriptors/eit.h | 1 +
lib/include/dvb-fe.h | 2 ++
lib/libdvbv5/descriptors.c | 1 +
Em Sat, 28 Dec 2013 16:45:57 +0100
André Roth neol...@gmail.com escreveu:
Signed-off-by: André Roth neol...@gmail.com
---
lib/libdvbv5/dvb-scan.c | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/lib/libdvbv5/dvb-scan.c b/lib/libdvbv5/dvb-scan.c
index bd9d2fb..6f3def6
Em Sat, 28 Dec 2013 16:46:00 +0100
André Roth neol...@gmail.com escreveu:
Signed-off-by: André Roth neol...@gmail.com
---
lib/libdvbv5/dvb-file.c | 1 +
lib/libdvbv5/dvb-sat.c | 1 +
lib/libdvbv5/dvb-scan.c | 1 +
lib/libdvbv5/parse_string.c | 1 +
4 files changed, 4
Em Sat, 28 Dec 2013 16:45:59 +0100
André Roth neol...@gmail.com escreveu:
Signed-off-by: André Roth neol...@gmail.com
---
lib/libdvbv5/Makefile.am | 3 +--
1 file changed, 1 insertion(+), 2 deletions(-)
diff --git a/lib/libdvbv5/Makefile.am b/lib/libdvbv5/Makefile.am
index
Em Sat, 28 Dec 2013 16:45:54 +0100
André Roth neol...@gmail.com escreveu:
Signed-off-by: André Roth neol...@gmail.com
---
lib/libdvbv5/descriptors/eit.c | 5 ++---
1 file changed, 2 insertions(+), 3 deletions(-)
diff --git a/lib/libdvbv5/descriptors/eit.c b/lib/libdvbv5/descriptors/eit.c
Em Sat, 28 Dec 2013 16:45:58 +0100
André Roth neol...@gmail.com escreveu:
Please merge it with the original patch. That makes easier to review.
Signed-off-by: André Roth neol...@gmail.com
---
lib/libdvbv5/descriptors.c | 2 +-
lib/libdvbv5/descriptors/mpeg_pes.c | 2 +-
2 files
Add V4L2_TUNER_CAP_1HZ for 1 Hz resolution.
Cc: Hans Verkuil hverk...@xs4all.nl
Signed-off-by: Antti Palosaari cr...@iki.fi
Acked-by: Hans Verkuil hans.verk...@cisco.com
---
include/uapi/linux/videodev2.h | 1 +
1 file changed, 1 insertion(+)
diff --git a/include/uapi/linux/videodev2.h
Define tuner types V4L2_TUNER_ADC and V4L2_TUNER_RF for SDR usage.
ADC is used for setting sampling rate (sampling frequency) to SDR
device.
Another tuner type, named as V4L2_TUNER_RF, is possible RF tuner.
Is is used to down-convert RF frequency to range ADC could sample.
Having RF tuner is
Add new V4L device type VFL_TYPE_SDR for Software Defined Radio.
It is registered as /dev/swradio0 (/dev/sdr0 was already reserved).
Cc: Hans Verkuil hverk...@xs4all.nl
Signed-off-by: Antti Palosaari cr...@iki.fi
Acked-by: Hans Verkuil hans.verk...@cisco.com
---
Enable stream format (FMT) IOCTLs for SDR use. These are used for negotiate
used data stream format.
Reorganise some some IOCTL selection logic.
Cc: Hans Verkuil hverk...@xs4all.nl
Signed-off-by: Antti Palosaari cr...@iki.fi
Acked-by: Hans Verkuil hverk...@xs4all.nl
---
Document V4L2 SDR interface.
Cc: Hans Verkuil hverk...@xs4all.nl
Signed-off-by: Antti Palosaari cr...@iki.fi
---
Documentation/DocBook/media/v4l/compat.xml | 10 ++
Documentation/DocBook/media/v4l/dev-sdr.xml| 107 +
Documentation/DocBook/media/v4l/io.xml
Documentation did not compile as wait.c location was wrong.
Signed-off-by: Antti Palosaari cr...@iki.fi
---
Documentation/DocBook/device-drivers.tmpl | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/Documentation/DocBook/device-drivers.tmpl
VIDIOC_QUERYCAP IOCTL is used to query device capabilities. Add new
capability flag to inform given device supports SDR capture.
Cc: Hans Verkuil hverk...@xs4all.nl
Signed-off-by: Antti Palosaari cr...@iki.fi
Acked-by: Hans Verkuil hverk...@xs4all.nl
---
include/uapi/linux/videodev2.h | 2 ++
1
From: Hans Verkuil hverk...@xs4all.nl
Modulator ioctls could be enabled mistakenly for non-radio devices.
Currently those ioctls are only valid for radio. Fix it.
Signed-off-by: Hans Verkuil hans.verk...@cisco.com
Signed-off-by: Antti Palosaari cr...@iki.fi
---
That version contains documentation fixes reported by Hans.
Antti Palosaari (11):
v4l: add device type for Software Defined Radio
v4l: add new tuner types for SDR
v4l: 1 Hz resolution flag for tuners
v4l: add stream format for SDR receiver
v4l: define own IOCTL ops for SDR FMT
v4l:
Update documention to reflect 1 Hz frequency step flag.
Cc: Hans Verkuil hverk...@xs4all.nl
Signed-off-by: Antti Palosaari cr...@iki.fi
---
.../DocBook/media/v4l/vidioc-enum-freq-bands.xml | 8 +---
Documentation/DocBook/media/v4l/vidioc-g-frequency.xml| 5 +++--
Add SDR device type to v4l2-framework.txt document.
Cc: Hans Verkuil hverk...@xs4all.nl
Signed-off-by: Antti Palosaari cr...@iki.fi
---
Documentation/video4linux/v4l2-framework.txt | 1 +
1 file changed, 1 insertion(+)
diff --git a/Documentation/video4linux/v4l2-framework.txt
Add new V4L2 stream format definition, V4L2_BUF_TYPE_SDR_CAPTURE,
for SDR receiver.
Cc: Hans Verkuil hverk...@xs4all.nl
Signed-off-by: Antti Palosaari cr...@iki.fi
Acked-by: Hans Verkuil hans.verk...@cisco.com
---
drivers/media/v4l2-core/v4l2-ioctl.c | 1 +
include/trace/events/v4l2.h
Em Sat, 28 Dec 2013 16:46:01 +0100
André Roth neol...@gmail.com escreveu:
Signed-off-by: André Roth neol...@gmail.com
---
lib/include/descriptors/mpeg_ts.h | 4 ++--
lib/libdvbv5/descriptors/mpeg_ts.c | 11 ---
2 files changed, 10 insertions(+), 5 deletions(-)
diff --git
Em Sat, 28 Dec 2013 16:45:55 +0100
André Roth neol...@gmail.com escreveu:
Signed-off-by: André Roth neol...@gmail.com
---
lib/include/descriptors/mgt.h | 82 ++
lib/libdvbv5/Makefile.am | 1 +
lib/libdvbv5/descriptors.c | 1 +
Em Sat, 28 Dec 2013 16:45:56 +0100
André Roth neol...@gmail.com escreveu:
Signed-off-by: André Roth neol...@gmail.com
---
lib/include/descriptors/atsc_eit.h | 91 +
lib/include/descriptors/atsc_header.h | 64 +++
lib/include/descriptors/mgt.h
* remove unneeded controls
* rename things
* remove unneeded callbacks
* use likely/unlikely on hot paths
* use 1Hz resolution for tuner RF frequency
Signed-off-by: Antti Palosaari cr...@iki.fi
---
drivers/staging/media/msi3101/sdr-msi3101.c | 214 +++-
1 file changed, 55
Add unsigned 8-bit sample format. Format is got directly from
hardware, but it is converted from signed to unsigned. It is worst
known sampling resolution hardware offer.
Signed-off-by: Antti Palosaari cr...@iki.fi
---
drivers/staging/media/msi3101/sdr-msi3101.c | 67
Convert to SDR API.
Signed-off-by: Antti Palosaari cr...@iki.fi
---
drivers/staging/media/msi3101/sdr-msi3101.c | 204
1 file changed, 148 insertions(+), 56 deletions(-)
diff --git a/drivers/staging/media/msi3101/sdr-msi3101.c
It was abusing video device API. Use SDR API instead.
Signed-off-by: Antti Palosaari cr...@iki.fi
---
drivers/staging/media/rtl2832u_sdr/rtl2832_sdr.c | 387 +--
1 file changed, 223 insertions(+), 164 deletions(-)
diff --git a/drivers/staging/media/rtl2832u_sdr/rtl2832_sdr.c
Here is two drivers converted to API.
There is still a tons of things to do, like expose tuner AGC control to
userspace. Also one very big task is to design how these DVB tuners should
be shared properly with DVB and V4L2 SDR API. Move used V4L2 FourCC codes
to API and many many other easy
Avoid that lockdep warning:
[ INFO: possible circular locking dependency detected ]
3.13.0-rc1+ #77 Tainted: G C O
---
video_source:sr/32072 is trying to acquire lock:
(dev-mutex#2){+.+.+.}, at: [a073fde3] vb2_fop_mmap+0x33/0x90
85 matches
Mail list logo