From: Wei Yongjun
Add the missing unlock on the error handling path in function
vpbe_initialize().
Signed-off-by: Wei Yongjun
---
no test
---
drivers/media/platform/davinci/vpbe.c | 6 --
1 file changed, 4 insertions(+), 2 deletions(-)
diff --git a/drivers/media/platform/davinci/vpbe.c
b
From: Wei Yongjun
Add the missing unlock on the error handle path in function
mx2_start_streaming().
Signed-off-by: Wei Yongjun
---
drivers/media/platform/soc_camera/mx2_camera.c | 8 ++--
1 file changed, 6 insertions(+), 2 deletions(-)
diff --git a/drivers/media/platform/soc_camera/mx2_c
Eliminated.
Love
Jens
--
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
FYI: This "Tain Wong" has been shut down and will not spam us again.
Love
Jens
On Mon, 22 Oct 2012 05:55:20 +0900, TAN WONG wrote:
>
> I am Mr. Tan Wong,I have a business to inform you about, it involve
> the transfer of funds ($24,500,000,00) contact
> (tan.wong...@yahoo.com.hk) with your fu
I am Mr. Tan Wong,I have a business to inform you about, it involve the
transfer of funds ($24,500,000,00) contact (tan.wong...@yahoo.com.hk) with your
full names.
Mr. Tan Wong
--
To unsubscribe from this list: send the line "unsubscribe linux-media" in
the body of a message to majord...@vger
On 21.10.2012 22:43, Artem S. Tashkinov wrote:
>> Nice. Could you do that again with the patch applied I sent yo some
>> hours ago?
>
> That patch was of no help - the system has crashed and I couldn't spot
> relevant
> messages.
>
> I've no idea what it means.
The sequence of driver callbacks
> Nice. Could you do that again with the patch applied I sent yo some
> hours ago?
That patch was of no help - the system has crashed and I couldn't spot relevant
messages.
I've no idea what it means.
Artem
--
To unsubscribe from this list: send the line "unsubscribe linux-media" in
the body of
On Sun, Oct 21, 2012 at 07:49:01PM +, Artem S. Tashkinov wrote:
> I ran it this way: while :; do dmesg -c; done | scat /dev/sda11 (yes,
> straight to a hdd partition to eliminate a FS cache)
Well, I'm no fs guy but this should still go through the buffer cache. I
think the O_SYNC flag makes su
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 Oct 21 19:00:21 CEST 2012
git hash:74df06daf632ce2d321d01cb046004768352efc4
gcc version: i686-linux-gcc (GC
On 21.10.2012 21:49, Artem S. Tashkinov wrote:
>>
>> On Oct 21, 2012, Borislav Petkov wrote:
>>
>> On Sun, Oct 21, 2012 at 11:59:36AM +, Artem S. Tashkinov wrote:
>>> http://imageshack.us/a/img685/9452/panicz.jpg
>>>
>>> list_del corruption. prev->next should be ... but was ...
>>
>> Btw, thi
>
> On Oct 21, 2012, Borislav Petkov wrote:
>
> On Sun, Oct 21, 2012 at 11:59:36AM +, Artem S. Tashkinov wrote:
> > http://imageshack.us/a/img685/9452/panicz.jpg
> >
> > list_del corruption. prev->next should be ... but was ...
>
> Btw, this is one of the debug options I told you to enabl
V4L2_BUF_FLAG_NO_CACHE_INVALIDATE and V4L2_BUF_FLAG_NO_CACHE_CLEAN were
define incorrectly in the documentation. Fix this by changing the
documentation to match reality.
Signed-off-by: Sakari Ailus
---
Documentation/DocBook/media/v4l/io.xml |4 ++--
1 files changed, 2 insertions(+), 2 deleti
Hi Guennadi,
On 10/20/2012 12:20 AM, Guennadi Liakhovetski wrote:
> Typical video devices like camera sensors require an external clock source.
> Many such devices cannot even access their hardware registers without a
> running clock. These clock sources should be controlled by their consumers.
>
Hi Frank,
On Sun, Oct 21, 2012 at 12:52 PM, Frank Schäfer
wrote:
> This patch series adds support for USB bulk transfers to the em28xx driver.
This is a welcome change that some users have been asking about for a while.
> Patch 1 is a bugfix for the image data processing with non-interlaced dev
Signed-off-by: Frank Schäfer
---
lib/include/libv4lconvert.h | 20 ++--
1 Datei geändert, 18 Zeilen hinzugefügt(+), 2 Zeilen entfernt(-)
diff --git a/lib/include/libv4lconvert.h b/lib/include/libv4lconvert.h
index 167b57d..509655e 100644
--- a/lib/include/libv4lconvert.h
+++ b/
Rename module parameter isoc_debug to usb_debug and macro
em28xx_isocdbg to em28xx_usb dbg to reflect that they are
used for isoc and bulk USB transfers.
Signed-off-by: Frank Schäfer
---
drivers/media/usb/em28xx/em28xx-video.c | 58 +++
1 Datei geändert, 28 Zeilen h
By default, isoc transfers are used if possible.
With the new module parameter, bulk can be selected as the
preferred USB transfer type.
Signed-off-by: Frank Schäfer
---
drivers/media/usb/em28xx/em28xx-cards.c |9 +++--
1 Datei geändert, 7 Zeilen hinzugefügt(+), 2 Zeilen entfernt(-)
dif
I just noticed that the eMPIA hardware specification from
02/01/2004 says that the em2840 supports VBI, too.
I don't have this device, so this patch is compilation tested only !
Signed-off-by: Frank Schäfer
---
drivers/media/usb/em28xx/em28xx-core.c |3 ++-
1 Datei geändert, 2 Zeilen hinzug
em28xx_urb_data_copy_vbi is actually an extended version of
em28xx_urb_data_copy. With some minor fixes applied, it can be
used for non-vbi-devices, too, without any performance impacts.
Tested with a non-VBI device only.
Signed-off-by: Frank Schäfer
---
drivers/media/usb/em28xx/em28xx-video.c
The current enpoint logic ignores all bulk endpoints and uses
a fixed mapping between endpint addresses and the supported
data stream types (analog/audio/DVB):
Ep 0x82, isoc => analog
Ep 0x83, isoc => audio
Ep 0x84, isoc => DVB
Now that the code can also do bulk transfers, the endpoint
logic
Extend function em28xx_set_alternate:
- use alternate setting 0 for bulk transfers as default
- respect module parameter 'alt'=0 for bulk transfers
- set max_packet_size to 512 bytes for bulk transfers
Signed-off-by: Frank Schäfer
---
drivers/media/usb/em28xx/em28xx-core.c | 23 +++
Signed-off-by: Frank Schäfer
---
drivers/media/usb/em28xx/em28xx-core.c | 11 +++
1 Datei geändert, 11 Zeilen hinzugefügt(+)
diff --git a/drivers/media/usb/em28xx/em28xx-core.c
b/drivers/media/usb/em28xx/em28xx-core.c
index d8a8e8b..8b8f783 100644
--- a/drivers/media/usb/em28xx/em28xx
Signed-off-by: Frank Schäfer
---
drivers/media/usb/em28xx/em28xx.h |4
1 Datei geändert, 4 Zeilen hinzugefügt(+)
diff --git a/drivers/media/usb/em28xx/em28xx.h
b/drivers/media/usb/em28xx/em28xx.h
index 8b96413..f013650 100644
--- a/drivers/media/usb/em28xx/em28xx.h
+++ b/drivers/media/
Also improve the comments.
Signed-off-by: Frank Schäfer
---
drivers/media/usb/em28xx/em28xx-cards.c | 20 +++-
drivers/media/usb/em28xx/em28xx-core.c |8
drivers/media/usb/em28xx/em28xx-dvb.c |4 ++--
drivers/media/usb/em28xx/em28xx-video.c |2 +-
driver
The URB data processing for DVB bulk transfers is very similar to
what is done with isoc transfers, so create a common function that
works with both transfer types based on the existing isoc function.
This patch has been compilation tested only, because I don't have
a DVB device !
Signed-off-by:
The URB data processing for bulk transfers is very similar to what
is done with isoc transfers, so create a common function that works
with both transfer types based on the existing isoc function.
This patch has been compilation tested only, because I don't have
a device with vbi support !
Signed
The URB data processing for bulk transfers is very similar to what
is done with isoc transfers, so create a common function that works
with both transfer types based on the existing isoc function.
Signed-off-by: Frank Schäfer
---
drivers/media/usb/em28xx/em28xx-video.c | 66 +++
This check is already done in the URB handler
em28xx_irq_callback before calling these functions.
Signed-off-by: Frank Schäfer
---
drivers/media/usb/em28xx/em28xx-dvb.c |5 +
drivers/media/usb/em28xx/em28xx-video.c | 10 ++
2 Dateien geändert, 3 Zeilen hinzugefügt(+), 12 Zeil
- rename em28xx_init_isoc to em28xx_init_usb_xfer
- add parameter for isoc/bulk transfer selection which is passed to
em28xx_alloc_urbs
- rename local variable isoc_buf to usb_bufs
Signed-off-by: Frank Schäfer
---
drivers/media/usb/em28xx/em28xx-core.c | 30 --
dr
- rename em28xx_init_isoc to em28xx_init_usb_xfer
- add parameter for isoc/bulk transfer selection which is passed to
em28xx_alloc_urbs
- rename local variable isoc_buf to usb_bufs
Signed-off-by: Frank Schäfer
---
drivers/media/usb/em28xx/em28xx-core.c | 30 --
dr
Rename the existing function for isoc transfers em28xx_init_isoc
to em28xx_init_usb_xfer and extend it.
URB allocation and setup is now done depending on the USB
transfer type, which is selected with a new function parameter.
Signed-off-by: Frank Schäfer
---
drivers/media/usb/em28xx/em28xx-cards
This function will be used to uninitialize USB bulk transfers, too.
Also rename the local variable isoc_bufs to usb_bufs.
Signed-off-by: Frank Schäfer
---
drivers/media/usb/em28xx/em28xx-cards.c |4 +--
drivers/media/usb/em28xx/em28xx-core.c | 43 ---
drivers/m
em28xx_irq_callback can be used for isoc and bulk transfers.
Signed-off-by: Frank Schäfer
---
drivers/media/usb/em28xx/em28xx-core.c |3 ++-
1 Datei geändert, 2 Zeilen hinzugefügt(+), 1 Zeile entfernt(-)
diff --git a/drivers/media/usb/em28xx/em28xx-core.c
b/drivers/media/usb/em28xx/em28xx-
It isn't used anymore and uses constants which no longer exist.
Signed-off-by: Frank Schäfer
---
drivers/media/usb/em28xx/em28xx.h |4
1 Datei geändert, 4 Zeilen entfernt(-)
diff --git a/drivers/media/usb/em28xx/em28xx.h
b/drivers/media/usb/em28xx/em28xx.h
index 5ef0a7a..c28e47f 10064
Also rename the corresponding field isoc_ctl in struct em28xx
to usb_ctl.
We will use this struct for USB bulk transfers, too.
Signed-off-by: Frank Schäfer
---
drivers/media/usb/em28xx/em28xx-core.c | 24
drivers/media/usb/em28xx/em28xx-vbi.c |4 ++--
drivers/me
It will be used for USB bulk transfers, too.
Signed-off-by: Frank Schäfer
---
drivers/media/usb/em28xx/em28xx-core.c |8
drivers/media/usb/em28xx/em28xx.h | 10 +-
2 Dateien geändert, 9 Zeilen hinzugefügt(+), 9 Zeilen entfernt(-)
diff --git a/drivers/media/usb/em28xx
Rename EM28XX_NUM_PACKETS to EM28XX_NUM_ISOC_PACKETS and
EM28XX_DVB_MAX_PACKETS to EM28XX_DVB_NUM_ISOC_PACKETS to
clarify that these values are used only for isoc usb transfers.
Also use the term num_packets instead of max_packets, as this
is how these values are used and called in struct urb.
Sig
Signed-off-by: Frank Schäfer
---
drivers/media/usb/em28xx/em28xx.h |2 +-
1 Datei geändert, 1 Zeile hinzugefügt(+), 1 Zeile entfernt(-)
diff --git a/drivers/media/usb/em28xx/em28xx.h
b/drivers/media/usb/em28xx/em28xx.h
index 8757523..4d4d0e1 100644
--- a/drivers/media/usb/em28xx/em28xx.h
++
em28xx_copy_video uses a wrong offset for the target buffer
when copying the data from an USB isoc packet. This happens
only for the second and all following lines in the packet.
The reason why this bug doesn't cause image corruption with
my test device (SilverCrest Webcam 1.3 MPix) is, that this
This patch series adds support for USB bulk transfers to the em28xx driver.
Patch 1 is a bugfix for the image data processing with non-interlaced devices
(webcams)
that should be considered for stable (see commit message).
Patches 2-21 extend the driver to support USB bulk transfers.
USB endpoin
On Sun, Oct 21, 2012 at 11:59:36AM +, Artem S. Tashkinov wrote:
> http://imageshack.us/a/img685/9452/panicz.jpg
>
> list_del corruption. prev->next should be ... but was ...
Btw, this is one of the debug options I told you to enable.
> I cannot show you more as I have no serial console to us
On Sun, 21 Oct 2012, Daniel Mack wrote:
> As the usb list is still in Cc: - Artem's lcpci dump shows that his
> machine features XHCI controllers. Can anyone think of a relation to
> this problem?
>
> And Artem, is there any way you boot your system on an older machine
> that only has EHCI ports?
On Sun, 21 Oct 2012, Artem S. Tashkinov wrote:
> What I've found out is that my system crashes *only* when I try to enable
> usb-audio (from the same webcam) - I still have no idea how to capture a
> panic message, but I ran
>
> "while :; do dmesg -c; done" in xterm, then I got like thousands of
On 21.10.2012 16:57, Artem S. Tashkinov wrote:
>> On Oct 21, 2012, Daniel Mack wrote:
>>
>> [Cc: alsa-devel]
>>
>> On 21.10.2012 14:30, Artem S. Tashkinov wrote:
>>> On Oct 21, 2012, Daniel Mack wrote:
>>>
A hint at least. How did you enable the audio record exactly? Can you
reproduce
> On Oct 21, 2012, Daniel Mack wrote:
>
> [Cc: alsa-devel]
>
> On 21.10.2012 14:30, Artem S. Tashkinov wrote:
> > On Oct 21, 2012, Daniel Mack wrote:
> >
> >> A hint at least. How did you enable the audio record exactly? Can you
> >> reproduce this with arecord?
> >>
> >> What chipset are you
[Cc: alsa-devel]
On 21.10.2012 14:30, Artem S. Tashkinov wrote:
> On Oct 21, 2012, Daniel Mack wrote:
>
>> A hint at least. How did you enable the audio record exactly? Can you
>> reproduce this with arecord?
>>
>> What chipset are you on? Please provide both "lspci -v" and "lsusb -v"
>> dumps.
On Oct 21, 2012, Daniel Mack wrote:
> A hint at least. How did you enable the audio record exactly? Can you
> reproduce this with arecord?
>
> What chipset are you on? Please provide both "lspci -v" and "lsusb -v"
> dumps. As I said, I fail to reproduce that issue on any of my machines.
All oth
On 21.10.2012 13:59, Artem S. Tashkinov wrote:
> On Oct 21, 2012, Borislav Petkov wrote:
>>
>> On Sun, Oct 21, 2012 at 01:57:21AM +, Artem S. Tashkinov wrote:
>>> The freeze happens on my *host* Linux PC. For an experiment I decided
>>> to check if I could reproduce the freeze under a virtual m
On 21.10.2012 13:59, Artem S. Tashkinov wrote:
> On Oct 21, 2012, Borislav Petkov wrote:
>>
>> On Sun, Oct 21, 2012 at 01:57:21AM +, Artem S. Tashkinov wrote:
>>> The freeze happens on my *host* Linux PC. For an experiment I decided
>>> to check if I could reproduce the freeze under a virtual m
On Oct 21, 2012, Borislav Petkov wrote:
>
> On Sun, Oct 21, 2012 at 01:57:21AM +, Artem S. Tashkinov wrote:
> > The freeze happens on my *host* Linux PC. For an experiment I decided
> > to check if I could reproduce the freeze under a virtual machine - it
> > turns out the Linux kernel running
On 21.10.2012 12:34, Daniel Mack wrote:
> On 21.10.2012 01:15, Artem S. Tashkinov wrote:
>> You don't get me - I have *no* VirtualBox (or any proprietary) modules
>> running
>> - but I can reproduce this problem using *the same system running under*
>> VirtualBox
>> in Windows 7 64.
>>
>> It's al
On Sun, Oct 21, 2012 at 01:57:21AM +, Artem S. Tashkinov wrote:
> The freeze happens on my *host* Linux PC. For an experiment I decided
> to check if I could reproduce the freeze under a virtual machine - it
> turns out the Linux kernel running under it also freezes.
I know that - but a freeze
On 21.10.2012 01:15, Artem S. Tashkinov wrote:
> You don't get me - I have *no* VirtualBox (or any proprietary) modules running
> - but I can reproduce this problem using *the same system running under*
> VirtualBox
> in Windows 7 64.
>
> It's almost definitely either a USB driver bug or video4li
53 matches
Mail list logo