[PATCH v2 11/14] [media] s5p-mfc: Remove unused alloc field from private buffer struct.

2014-09-25 Thread Kiran AVND
From: Pawel Osciak This field is no longer used as MFC driver doesn't use vb2 alloc contexts anymore. Signed-off-by: Pawel Osciak Signed-off-by: Kiran AVND --- drivers/media/platform/s5p-mfc/s5p_mfc_common.h |3 --- 1 file changed, 3 deletions(-) diff --git a/drivers/media/platform/s5p-m

[PATCH v2 12/14] [media] s5p-mfc: fix V4L2_CID_MIN_BUFFERS_FOR_CAPTURE on resolution change.

2014-09-25 Thread Kiran AVND
From: Pawel Osciak G_CTRL on V4L2_CID_MIN_BUFFERS_FOR_CAPTURE will fail if userspace happens to query it after getting a resolution change event and before the codec has a chance to parse the header and switch to an initialized state. Signed-off-by: Pawel Osciak Signed-off-by: Kiran AVND ---

[PATCH v2 14/14] [media] s5p-mfc: Don't change the image size to smaller than the request.

2014-09-25 Thread Kiran AVND
From: Wu-Cheng Li Use the requested size as the minimum bound, unless it's less than the required hardware minimum. The bound align function will align to the closest value but we do not want to adjust below the requested size. Signed-off-by: Wu-Cheng Li Signed-off-by: Kiran AVND --- drivers/

[PATCH v2 10/14] [media] s5p-mfc: flush dpbs when resolution changes

2014-09-25 Thread Kiran AVND
While resolution change is detected by MFC, we flush out older dpbs, send the resolution change event to application, and then accept further queuing of new src buffers. Sometimes, we error out during dpb flush because of lack of src buffers. Since we have not started decoding new resolution yet,

[PATCH v2 13/14] [media] s5p-mfc: fix a race in interrupt flags handling

2014-09-25 Thread Kiran AVND
From: Pawel Osciak Interrupt result flags have to be cleared before a hardware job is run. Otherwise, if they are cleared asynchronously, we may end up clearing them after the interrupt for which we wanted to wait has already arrived, thus overwriting the job results that we intended to wait for.

[PATCH v2 09/14] [media] s5p-mfc: De-init MFC when watchdog kicks in

2014-09-25 Thread Kiran AVND
From: Arun Mankuzhi If the software watchdog kicks in, we need to de-init MFC before reloading firmware and re-intializing it again. Signed-off-by: Arun Mankuzhi Signed-off-by: Kiran AVND --- drivers/media/platform/s5p-mfc/s5p_mfc.c |4 1 file changed, 4 insertions(+) diff --git a/d

[PATCH v2 08/14] [media] s5p-mfc: modify mfc wakeup sequence for V8

2014-09-25 Thread Kiran AVND
From: Arun Mankuzhi >From MFC V8, the MFC wakeup sequence has changed. MFC wakeup command has to be sent after the host receives firmware load complete status from risc. Signed-off-by: Arun Mankuzhi Signed-off-by: Kiran AVND --- drivers/media/platform/s5p-mfc/s5p_mfc_ctrl.c | 78 +++

[PATCH v2 05/14] [media] s5p-mfc: keep RISC ON during reset for V7/V8

2014-09-25 Thread Kiran AVND
Reset sequence for MFC V7 and V8 do not need RISC_ON to be set to 0, while for MFC V6 it is still needed. Also, remove a couple of register settings during Reset which are not needed from V6 onwards. Signed-off-by: Kiran AVND --- drivers/media/platform/s5p-mfc/s5p_mfc_common.h |1 + drivers

[PATCH v2 07/14] [media] s5p-mfc: Don't crash the kernel if the watchdog kicks in.

2014-09-25 Thread Kiran AVND
From: Pawel Osciak If the software watchdog kicks in, the watchdog worker is not synchronized with hardware interrupts and does not block other instances. It's possible for it to clear the hw_lock, making other instances trigger a BUG() on hw_lock checks. Since it's not fatal to clear the hw_lock

[PATCH v2 06/14] [media] s5p-mfc: check mfc bus ctrl before reset

2014-09-25 Thread Kiran AVND
during reset sequence, it is advisable to follow the below sequence, in order to avoid unexpected behavior from MFC . set SFR 0x7110 MFC_BUS_RESET_CTRL 0x1 // wait for REQ_STATUS to be 1 . get SFR 0x7110 MFC_BUS_RESET_CTRL 0x3 // reset now Signed-off-by: Kiran AVND --- drivers/media/platform

[PATCH v2 04/14] [media] s5p-mfc: Only set timestamp/timecode for new frames.

2014-09-25 Thread Kiran AVND
From: Ilja Friedel Timestamp i of a previously decoded buffer was overwritten for some H.264 streams with timestamp i+1 of the next buffer. This happened when encountering frame_type S5P_FIMV_DECODE_FRAME_SKIPPED, indicating no new frame. In most cases this wrong indexing might not have been not

[PATCH v2 02/14] [media] s5p-mfc: Fix REQBUFS(0) for encoder.

2014-09-25 Thread Kiran AVND
From: Pawel Osciak Handle REQBUFS(0) for CAPTURE queue as well. Also use the proper queue to call it on for OUTPUT. Signed-off-by: Pawel Osciak Signed-off-by: Kiran AVND --- drivers/media/platform/s5p-mfc/s5p_mfc_enc.c | 13 + 1 file changed, 13 insertions(+) diff --git a/drive

[PATCH v2 03/14] [media] s5p-mfc: clear 'enter_suspend' flag if suspend fails

2014-09-25 Thread Kiran AVND
From: Prathyush K The enter_suspend flag is set after we enter mfc suspend function but if suspend fails after that due to any reason (like hardware timeout etc), this flag must be cleared before returning an error. Otherwise, this flag never gets cleared and the MFC suspend will always return an

[PATCH v2 01/14] [media] s5p-mfc: support MIN_BUFFERS query for encoder

2014-09-25 Thread Kiran AVND
Add V4L2_CID_MIN_BUFFERS_FOR_OUTPUT query for encoder. Once mfc encoder state is HEAD_PARSED, which is sequence header produced, dpb_count is avaialable. Let user space query this value. Signed-off-by: Kiran AVND --- drivers/media/platform/s5p-mfc/s5p_mfc_enc.c | 42 ++

[PATCH v2 00/14] Fixes from Chrome OS tree for MFC driver

2014-09-25 Thread Kiran AVND
Upstreaming the fixes which have gone in to Chrome OS tree for MFC driver. Tested on MFCV8, MFCV7 and MFCV6 based Exynos5 based boards, peach-pi (5800), peach-pit (5420) and snow (5250). These are all independent fixes and hence posting them as a patchset. Changes from v1: 1) Addressed all review

Re: [PATCH 04/12] cx231xx: give each master i2c bus a seperate name

2014-09-25 Thread Matthias Schwarzott
On 25.09.2014 17:04, Antti Palosaari wrote: > So this patch adds bus number to adapter name as postfix? > > "cx231xx" => "cx231xx-1" > Yes, it is attached, and the result looks like * cx231xx #0-0 * cx231xx #0-1 * cx231xx #0-2 > I have no clear opinion for that. I think name should be given when

Re: [PATCH 02/12] cx231xx: use own i2c_client for eeprom access

2014-09-25 Thread Matthias Schwarzott
Hi Antti, I think that i2c_transfer sens no repeated start when sending only one message per call. At least the received eeprom content looks correct. Regards Matthias On 25.09.2014 16:58, Antti Palosaari wrote: > Reviewed-by: Antti Palosaari > > Please add commit description (why and how). >

cron job: media_tree daily build: ERRORS

2014-09-25 Thread Hans Verkuil
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: Fri Sep 26 04:00:16 CEST 2014 git branch: test git hash: c0aaf696d45e2a72048a56441e81dad78659c698 gcc versi

[PATCH] PT3 ISDB-S/T driver (PCI, tc90522, mxl301rf, qm1d1c0042)

2014-09-25 Thread Буди Романто, AreMa Inc
[DVB driver for Earthsoft PT3 PCIE ISDB-S/T receiver] Features & changes: - 32bit + 64bit clean compile (removed math64.h) - simpler & yet precise CNR calculation - CNR @ 0.0001 dB (as stated in include/uapi/linux/dvb/frontend.h, not 1/1000 dB!) - tuning enhancements (compared to PT1 DVB) 1. in

Re: [PATCH] omap3isp: Fix division by 0

2014-09-25 Thread Sakari Ailus
On Thu, Sep 25, 2014 at 03:24:47PM +0300, Laurent Pinchart wrote: > If the requested clock rate passed to the XCLK set_rate or round_rate > operation is 0, the driver will try to divide by 0. Fix this. > > Signed-off-by: Laurent Pinchart Thanks! Acked-by: Sakari Ailus -- Sakari Ailus e-mail:

Re: TeVii S480 in Debian Wheezy

2014-09-25 Thread Josu Lazkano
Hello again, I found this 2 source codes: Debian 3.2 kernel module file: http://paste.debian.net/plain/123108 TeVii S482 official driver module file: http://paste.debian.net/plain/123109 And here is Igor commit to add S482 device to his tree: https://bitbucket.org/liplianin/s2-liplianin-v39/comm

Re: TeVii S480 in Debian Wheezy

2014-09-25 Thread Josu Lazkano
Thanks again, I just write to Tevvi an email. I notice that in the module information there is nothing about the S482, and yes about S480: # modinfo dvb_usb_dw2102 filename: /lib/modules/3.2.0-4-amd64/kernel/drivers/media/dvb/dvb-usb/dvb-usb-dw2102.ko license:GPL version:0.1 desc

Re: em28xx breaks after hibernate

2014-09-25 Thread Shuah Khan
Hi Johannes and Mauro, On 09/25/2014 12:45 PM, Shuah Khan wrote: >> > > Revert is good. Just checked 3.16 and we are good > on that. It needs to be reverted from 3.17 for sure. Mauro! Do you need anything from me for this revert? Please let me know. Gotta be done soon I am guessing with us so c

Re: em28xx breaks after hibernate

2014-09-25 Thread Shuah Khan
On 09/25/2014 12:17 PM, Johannes Stezenbach wrote: > On Thu, Sep 25, 2014 at 11:40:45AM -0600, Shuah Khan wrote: >> >> Right. I introduced DVB_FE_DEVICE_RESUME code to resume >> problems in drx39xxj driver. Because I had to make it not >> toggle power on the fe for resume. In other words, for it >>

Re: problem with second tuner on Leadtek DTV dongle dual

2014-09-25 Thread Antti Palosaari
Moikka Performance issues are fixed recently (at least I hope so), but it will took some time in order to get fixes in stable. Unfortunately I don't have any IT9135 BX (ver 2 chip) dual device to test like yours... Could you install that kernel tree: http://git.linuxtv.org/cgit.cgi/media_tree.

Re: TeVii S480 in Debian Wheezy

2014-09-25 Thread Josu Lazkano
Thanks René, I have more TeVii devices (S470 and S660) running in other machine with no problems, just copying the firmware work out of the box. Is really necessary to compile the Tevii driver? I have more DVB device and want to use Debian kernels. I try to compile it: wget http://www.tevii.com

Re: em28xx breaks after hibernate

2014-09-25 Thread Johannes Stezenbach
On Thu, Sep 25, 2014 at 11:40:45AM -0600, Shuah Khan wrote: > > Right. I introduced DVB_FE_DEVICE_RESUME code to resume > problems in drx39xxj driver. Because I had to make it not > toggle power on the fe for resume. In other words, for it > to differentiate between disconnect and resume condition

Re: em28xx breaks after hibernate

2014-09-25 Thread Shuah Khan
Hi Johannes, On 09/25/2014 11:36 AM, Johannes Stezenbach wrote: > On Thu, Sep 25, 2014 at 06:01:34PM +0200, Johannes Stezenbach wrote: > FWIW, there are six other xc5000 patches in the queue: > > http://git.linuxtv.org/cgit.cgi/media_tree.git/log/drivers/media/tuners/xc5000.c?h=devel-3.17-rc6 >

Re: [patch] [media] em28xx-input: NULL dereference on error

2014-09-25 Thread Frank Schäfer
Am 25.09.2014 um 16:49 schrieb Dan Carpenter: > On Thu, Sep 25, 2014 at 04:08:31PM +0200, Frank Schäfer wrote: >>> ir = kzalloc(sizeof(*ir), GFP_KERNEL); >>> + if (!ir) >>> + return -ENOMEM; >>> rc = rc_allocate_device(); >>> - if (!ir || !rc) >>> + if (!rc) >>>

Re: em28xx breaks after hibernate

2014-09-25 Thread Shuah Khan
On 09/25/2014 10:01 AM, Johannes Stezenbach wrote: > Hi Shuah, > > On Thu, Sep 25, 2014 at 07:45:37AM -0600, Shuah Khan wrote: >> On 09/25/2014 06:53 AM, Johannes Stezenbach wrote: >>> ever since your patchset which implements suspend/resume >>> for em28xx, hibernating the system breaks the Hauppa

Re: em28xx breaks after hibernate

2014-09-25 Thread Johannes Stezenbach
On Thu, Sep 25, 2014 at 06:01:34PM +0200, Johannes Stezenbach wrote: > Hi Shuah, > > On Thu, Sep 25, 2014 at 07:45:37AM -0600, Shuah Khan wrote: > > On 09/25/2014 06:53 AM, Johannes Stezenbach wrote: > > > ever since your patchset which implements suspend/resume > > > for em28xx, hibernating the s

Re: [media/dvb_usb_af9005] BUG: unable to handle kernel paging request (WAS: [media/em28xx] BUG: unable to handle kernel)

2014-09-25 Thread Luca Olivetti
El 25/09/14 15:54, Frank Schäfer ha escrit: > > Am 23.09.2014 um 23:03 schrieb Luca Olivetti: >> El 23/09/14 20:52, Frank Schäfer ha escrit: >> > This seems to be an ancient bug, which is known at least since 5 1/2 > years: > https://lkml.org/lkml/2009/2/4/350 >> [...] #if define

Re: [patch] [media] em28xx-input: NULL dereference on error

2014-09-25 Thread Mauro Carvalho Chehab
Em Thu, 25 Sep 2014 17:37:46 +0200 Julia Lawall escreveu: > On Thu, 25 Sep 2014, Frank Schäfer wrote: > > > Hi Dan, > > > > Am 25.09.2014 um 13:39 schrieb Dan Carpenter: > > > We call "kfree(ir->i2c_client);" in the error handling and that doesn't > > > work if "ir" is NULL. > > > > > > Fixes: 7

Re: em28xx breaks after hibernate

2014-09-25 Thread Johannes Stezenbach
Hi Shuah, On Thu, Sep 25, 2014 at 07:45:37AM -0600, Shuah Khan wrote: > On 09/25/2014 06:53 AM, Johannes Stezenbach wrote: > > ever since your patchset which implements suspend/resume > > for em28xx, hibernating the system breaks the Hauppauge WinTV HVR 930C > > driver. > > In v3.15.y and v3.16.y

Re: TeVii S480 in Debian Wheezy

2014-09-25 Thread Antti Palosaari
Moikka Could you look what system message log says? Fedora uses nowadays journalctl command, but I think most of the others just print to /var/log/messages or so. Maybe dmesg command works. regards Antti On 09/25/2014 06:12 PM, Josu Lazkano wrote: Hello all, I want to use a new dual DVB-S2

Re: [patch] [media] em28xx-input: NULL dereference on error

2014-09-25 Thread Julia Lawall
On Thu, 25 Sep 2014, Frank Schäfer wrote: > Hi Dan, > > Am 25.09.2014 um 13:39 schrieb Dan Carpenter: > > We call "kfree(ir->i2c_client);" in the error handling and that doesn't > > work if "ir" is NULL. > > > > Fixes: 78e719a5f30b ('[media] em28xx-input: i2c IR decoders: improve > > i2c_client h

Re: [PATCH 12/12] cx231xx: scan all four existing i2c busses instead of the 3 masters

2014-09-25 Thread Antti Palosaari
Reviewed-by: Antti Palosaari Here is example naming those muxed adapters differently (as I mentioned earlier patch), would make clear people who reads that code which adapters are real and which are muxed. Now you do i2c scan for adapter 0, 1, 2, 3, without knowing 1 and 3 are actually mux se

Re: [PATCH 11/12] cx231xx: drop unconditional port3 switching

2014-09-25 Thread Antti Palosaari
Reviewed-by: Antti Palosaari Antti On 09/25/2014 08:08 AM, Matthias Schwarzott wrote: All switching should be done by i2c mux adapters. Drop explicit dont_use_port_3 flag. Drop info message about switch. Only the removed code in start_streaming is questionable: It did switch the port_3 flag w

Re: [PATCH 10/12] cx231xx: register i2c mux adapters for master1 and use as I2C_1 and I2C_3

2014-09-25 Thread Antti Palosaari
Reviewed-by: Antti Palosaari I2C adapter naming is the thing here I ask you consider. After that patch, you have 2 muxed I2C segments named I2C_1 and I2C_3. Real adapter having these muxed adapter is I2C_1. So you reuse I2C_1 for muxed adapter, which is possible as you don't need real adapter

Re: [PATCH 06/12] cx231xx: add wrapper to get the i2c_adapter pointer

2014-09-25 Thread Antti Palosaari
I have to say I don't see very necessary to define function which returns given adapter by adapter number. *adapter = cx231xx_get_i2c_adap(I2C_1); vs. *adapter = dev->i2c_bus[I2C_1].i2c_adap; not big difference. Anyhow, I didn't saw any bugs. regards Antti On 09/25/2014 08:07 AM, Matthias Sch

Re: [PATCH 04/12] cx231xx: give each master i2c bus a seperate name

2014-09-25 Thread Antti Palosaari
So this patch adds bus number to adapter name as postfix? "cx231xx" => "cx231xx-1" I have no clear opinion for that. I think name should be given when adapter is crated, not afterwards. regards Antti On 09/25/2014 08:07 AM, Matthias Schwarzott wrote: Signed-off-by: Matthias Schwarzott ---

TeVii S480 in Debian Wheezy

2014-09-25 Thread Josu Lazkano
Hello all, I want to use a new dual DVB-S2 device, TeVii S480. I am using Debian Wheezy with 3.2 kernel, I copy the firmware files: # md5sum /lib/firmware/dvb-* a32d17910c4f370073f9346e71d34b80 /lib/firmware/dvb-fe-ds3000.fw 2946e99fe3a4973ba905fcf59111cf40 /lib/firmware/dvb-usb-s660.fw The d

Re: em28xx breaks after hibernate

2014-09-25 Thread Shuah Khan
On 09/25/2014 08:10 AM, Mauro Carvalho Chehab wrote: > Hi Johannes and Shuah, > > Em Thu, 25 Sep 2014 07:45:37 -0600 > Shuah Khan escreveu: > >> Hi Johannes, >> >> On 09/25/2014 06:53 AM, Johannes Stezenbach wrote: >>> Hi Shuah, >>> >>> ever since your patchset which implements suspend/resume >>

Re: [PATCH 05/12] cx231xx: Use symbolic constants for i2c ports

2014-09-25 Thread Antti Palosaari
Reviewed-by: Antti Palosaari regards Antti On 09/25/2014 08:07 AM, Matthias Schwarzott wrote: use already existing I2C_0 ... I2C_3 Signed-off-by: Matthias Schwarzott --- drivers/media/usb/cx231xx/cx231xx-cards.c | 62 +++ drivers/media/usb/cx231xx/cx231xx.h

Re: [PATCH 03/12] cx231xx: delete i2c_client per bus

2014-09-25 Thread Antti Palosaari
Reviewed-by: Antti Palosaari Good catch, certainly pointless to add "dummy" I2C client per adapter. Just wastes memory. Missing patch description. regards Antti On 09/25/2014 08:07 AM, Matthias Schwarzott wrote: Signed-off-by: Matthias Schwarzott --- drivers/media/usb/cx231xx/cx231xx-i2

Re: [PATCH 02/12] cx231xx: use own i2c_client for eeprom access

2014-09-25 Thread Antti Palosaari
Reviewed-by: Antti Palosaari Please add commit description (why and how). Some notes for further development: It sends single messages, so you could (or even should) use i2c_master_send/i2c_master_recv (i2c_transfer is aimed for sending multiple messages using REPEATED START condition). I a

dib0700_devices.c:undefined reference to `dib0070_wbd_offset'

2014-09-25 Thread kbuild test robot
tree: git://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git master head: 005f800508eb391480f463dad3d54e5b4ec67d57 commit: 7b34be71db533f3e0cf93d53cf62d036cdb5418a [media] use IS_ENABLED() macro date: 1 year, 8 months ago config: x86_64-randconfig-iv1-09252200 (attached as .config)

Re: [PATCH 01/12] cx231xx: let i2c bus scanning use its own i2c_client

2014-09-25 Thread Antti Palosaari
Reviewed-by: Antti Palosaari Antti On 09/25/2014 08:07 AM, Matthias Schwarzott wrote: Signed-off-by: Matthias Schwarzott --- drivers/media/usb/cx231xx/cx231xx-i2c.c | 17 +++-- drivers/media/usb/cx231xx/cx231xx.h | 2 +- 2 files changed, 12 insertions(+), 7 deletions(-)

Re: [patch] [media] em28xx-input: NULL dereference on error

2014-09-25 Thread Dan Carpenter
On Thu, Sep 25, 2014 at 04:08:31PM +0200, Frank Schäfer wrote: > > ir = kzalloc(sizeof(*ir), GFP_KERNEL); > > + if (!ir) > > + return -ENOMEM; > > rc = rc_allocate_device(); > > - if (!ir || !rc) > > + if (!rc) > > goto error; > > > > /* record handles to o

Re: [PATCH 2/2] em28xx: fix VBI handling logic

2014-09-25 Thread Frank Schäfer
(Resending because my crappy modem crashed while sending) Am 25.09.2014 um 16:07 schrieb Mauro Carvalho Chehab: > Em Thu, 25 Sep 2014 15:59:12 +0200 > Frank Schäfer escreveu: > >> Am 24.09.2014 um 01:18 schrieb Mauro Carvalho Chehab: >>> Em Tue, 23 Sep 2014 21:32:02 +0200 >>> Frank Schäfer escre

Re: em28xx breaks after hibernate

2014-09-25 Thread Mauro Carvalho Chehab
Hi Johannes and Shuah, Em Thu, 25 Sep 2014 07:45:37 -0600 Shuah Khan escreveu: > Hi Johannes, > > On 09/25/2014 06:53 AM, Johannes Stezenbach wrote: > > Hi Shuah, > > > > ever since your patchset which implements suspend/resume > > for em28xx, hibernating the system breaks the Hauppauge WinTV

Re: [patch] [media] em28xx-input: NULL dereference on error

2014-09-25 Thread Frank Schäfer
Hi Dan, Am 25.09.2014 um 13:39 schrieb Dan Carpenter: > We call "kfree(ir->i2c_client);" in the error handling and that doesn't > work if "ir" is NULL. > > Fixes: 78e719a5f30b ('[media] em28xx-input: i2c IR decoders: improve > i2c_client handling') > Signed-off-by: Dan Carpenter > > diff --git a

Re: [PATCH 2/2] em28xx: fix VBI handling logic

2014-09-25 Thread Mauro Carvalho Chehab
Em Thu, 25 Sep 2014 15:59:12 +0200 Frank Schäfer escreveu: > > Am 24.09.2014 um 01:18 schrieb Mauro Carvalho Chehab: > > Em Tue, 23 Sep 2014 21:32:02 +0200 > > Frank Schäfer escreveu: > > > >> Am 19.09.2014 um 18:02 schrieb Mauro Carvalho Chehab: > >>> When both VBI and video are streaming, and

Re: [patch] [media] xc5000: use after free in release()

2014-09-25 Thread Shuah Khan
On 09/25/2014 05:40 AM, Dan Carpenter wrote: > I moved the call to hybrid_tuner_release_state(priv) after > "priv->firmware" dereference. > > Fixes: 5264a522a597 ('[media] media: tuner xc5000 - release firmwware from > xc5000_release()') > Signed-off-by: Dan Carpenter > > diff --git a/drivers/m

Re: [PATCH 2/2] em28xx: fix VBI handling logic

2014-09-25 Thread Frank Schäfer
Am 24.09.2014 um 01:18 schrieb Mauro Carvalho Chehab: > Em Tue, 23 Sep 2014 21:32:02 +0200 > Frank Schäfer escreveu: > >> Am 19.09.2014 um 18:02 schrieb Mauro Carvalho Chehab: >>> When both VBI and video are streaming, and video stream is stopped, >>> a subsequent trial to restart it will fail, b

Re: [media/dvb_usb_af9005] BUG: unable to handle kernel paging request (WAS: [media/em28xx] BUG: unable to handle kernel)

2014-09-25 Thread Frank Schäfer
Am 23.09.2014 um 23:03 schrieb Luca Olivetti: > El 23/09/14 20:52, Frank Schäfer ha escrit: > This seems to be an ancient bug, which is known at least since 5 1/2 years: https://lkml.org/lkml/2009/2/4/350 > [...] >>> #if defined(CONFIG_MODULE) || defined(CONFIG_DVB_USB_AF9005_REMOTE) >>

Re: em28xx breaks after hibernate

2014-09-25 Thread Shuah Khan
Hi Johannes, On 09/25/2014 06:53 AM, Johannes Stezenbach wrote: > Hi Shuah, > > ever since your patchset which implements suspend/resume > for em28xx, hibernating the system breaks the Hauppauge WinTV HVR 930C driver. > In v3.15.y and v3.16.y it throws a request_firmware warning > during hibernat

em28xx breaks after hibernate

2014-09-25 Thread Johannes Stezenbach
Hi Shuah, ever since your patchset which implements suspend/resume for em28xx, hibernating the system breaks the Hauppauge WinTV HVR 930C driver. In v3.15.y and v3.16.y it throws a request_firmware warning during hibernate + resume, and the /dev/dvb/ device nodes disappears after resume. In curre

Contact me for more details.

2014-09-25 Thread MARTIN DESMOND
Hi friend I am a banker in IDB BANK.I want to transfer an abandoned USD5. 5Million to your Bank account. 40/percent will be your share. No risk involved but keep it as secret Thanks.Contact me for more details. -- To unsubscribe from this list: send the line "unsubscribe linux-media" in the body of

Re: [PATCH v2 1/6] V4L2: Add Renesas R-Car JPEG codec driver.

2014-09-25 Thread Sergei Shtylyov
Hello. On 9/23/2014 5:31 PM, Kamil Debski wrote: From: linux-media-ow...@vger.kernel.org [mailto:linux-media- ow...@vger.kernel.org] On Behalf Of Mikhail Ulyanov Sent: Monday, August 25, 2014 2:30 PM This patch contains driver for Renesas R-Car JPEG codec. Cnanges since v1: - s/g_fmt

problem with second tuner on Leadtek DTV dongle dual

2014-09-25 Thread Hamish Moffatt
I have a new Leadtek DTV dongle dual (usb 0413:6a05). With linux 3.16.3 the first adapter tunes and works fine, but the second tuner will only tune to the one UHF multiplex in our area. The other five multiplexes are all VHF and it won't lock on any of those. Here's the kernel log from inserti

Re: [media-workshop] [ANN] First tentative agenda

2014-09-25 Thread Mauro Carvalho Chehab
Em Mon, 22 Sep 2014 13:42:44 +0200 Hans Verkuil escreveu: > Hi all, > > I have collected all suggested topics. If I missed any, then let me know. > > There seem to be three groups of topics: one has general topics, one is > related to the compound controls, per frame configuration and Android,

[PATCH] omap3isp: Fix division by 0

2014-09-25 Thread Laurent Pinchart
If the requested clock rate passed to the XCLK set_rate or round_rate operation is 0, the driver will try to divide by 0. Fix this. Signed-off-by: Laurent Pinchart --- drivers/media/platform/omap3isp/isp.c | 3 +++ 1 file changed, 3 insertions(+) diff --git a/drivers/media/platform/omap3isp/isp

[patch] [media] em28xx-input: NULL dereference on error

2014-09-25 Thread Dan Carpenter
We call "kfree(ir->i2c_client);" in the error handling and that doesn't work if "ir" is NULL. Fixes: 78e719a5f30b ('[media] em28xx-input: i2c IR decoders: improve i2c_client handling') Signed-off-by: Dan Carpenter diff --git a/drivers/media/usb/em28xx/em28xx-input.c b/drivers/media/usb/em28xx/

[patch] [media] xc5000: use after free in release()

2014-09-25 Thread Dan Carpenter
I moved the call to hybrid_tuner_release_state(priv) after "priv->firmware" dereference. Fixes: 5264a522a597 ('[media] media: tuner xc5000 - release firmwware from xc5000_release()') Signed-off-by: Dan Carpenter diff --git a/drivers/media/tuners/xc5000.c b/drivers/media/tuners/xc5000.c index e4

Re: [PATCH 17/18] [media] s3c-camif: fix dma_addr_t printks

2014-09-25 Thread Sylwester Nawrocki
On 25/09/14 00:27, Mauro Carvalho Chehab wrote: > drivers/media//platform/s3c-camif/camif-capture.c: In function > ‘camif_prepare_addr’: > include/linux/dynamic_debug.h:64:16: warning: format ‘%x’ expects argument of > type ‘unsigned int’, but argument 5 has type ‘dma_addr_t’ [-Wformat=] > stat

Re: [PATCH] [media] exynos4-is: fix some warnings when compiling on arm64

2014-09-25 Thread Sylwester Nawrocki
On 25/09/14 03:24, Mauro Carvalho Chehab wrote: > Got those warnings when compiling with gcc 4.9.1 for arm64: > > drivers/media/platform/exynos4-is/fimc-isp-video.c: In function > ‘isp_video_capture_buffer_queue’: > drivers/media/platform/exynos4-is/fimc-isp-video.c:221:4: warning: format > ‘%x’

Re: [PATCH v3 1/8] [media] soc_camera: Do not decrement endpoint node refcount in the loop

2014-09-25 Thread Philipp Zabel
Hi Guennadi, Am Samstag, den 20.09.2014, 09:24 +0200 schrieb Guennadi Liakhovetski: > Hi Philippe, > > On Thu, 11 Sep 2014, Philipp Zabel wrote: > > > In preparation for a following patch, stop decrementing the endpoint node > > refcount in the loop. This temporarily leaks a reference to the end

Re: [PATCH 2/5] media: v4l2-core changes to use media tuner token api

2014-09-25 Thread Hans Verkuil
On 09/24/2014 05:57 PM, Shuah Khan wrote: > On 09/24/2014 06:25 AM, Hans Verkuil wrote: >> Hi Shuah, >> >> >> Let's be realistic: if an application doesn't test for error codes, >> then that's the problem of the application. Also, EBUSY will only be >> returned if someone else is holding the tuner

dib0700_devices.c:undefined reference to `dib7000m_get_i2c_master'

2014-09-25 Thread kbuild test robot
tree: git://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git master head: b94d525e58dc9638dd3f98094cb468bcfb262039 commit: 782d8b743aad7dfffa4c01e9e8b57fd35247d70a [media] dvb-frontends: use IS_ENABLED date: 1 year, 6 months ago config: x86_64-randconfig-hsb1-09251420 (attached as