cron job: media_tree daily build: OK

2014-07-12 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: Sun Jul 13 04:00:21 CEST 2014 git branch: test git hash: 3c0d394ea7022bb9666d9df97a5776c4bcc3045c gcc versi

Re: [PATCH] media: em28xx-dvb - fix em28xx_dvb_resume() to not unregister i2c and dvb

2014-07-12 Thread Antti Palosaari
Reviewed-by: Antti Palosaari Antti On 07/09/2014 04:21 PM, Shuah Khan wrote: em28xx_dvb_resume() unregisters i2c tuner, i2c demod, and dvb. This erroneous cleanup results in i2c tuner, i2c demod, and dvb devices unregistered and removed during resume. This error is a result of merge conflict b

Re: [PATCH] media: em28xx - add error handling for KWORLD dvb_attach failures

2014-07-12 Thread Antti Palosaari
Looks correct! All the other devices, excluding those few PCTV ones I have added, has that same bug... Deadlocks if tuner attach fails. Reviewed-by: Antti Palosaari regards Antti On 07/09/2014 11:36 PM, Shuah Khan wrote: Add error hanlding when EM2870_BOARD_KWORLD_A340 dvb_attach() for fe

Re: [PATCH] media: em28xx-dvb unregister i2c tuner and demod after fe detach

2014-07-12 Thread Antti Palosaari
Moikka Shuah! I suspect that patch makes no sense. On DVB there is runtime PM controlled by DVB frontend. It wakes up all FE sub-devices when frontend device is opened and sleeps when closed. FE release() is not relevant at all for those sub-devices which are implemented as a proper I2C clien

Re: [PATCH] mb86a20s: fix ISDB-T mode handling

2014-07-12 Thread Antti Palosaari
Mauro, you have forgot some debug hacks to that patch. Antti On 07/12/2014 07:39 PM, Mauro Carvalho Chehab wrote: The driver was reporting an incorrect mode, when mode 2 is selected. While testing it, noticed that neither mode 1 or guard interval 1/32 is supported by this device. Document it,

[PATCH] radio-bcm2048.c: Fix some checkpatch.pl errors

2014-07-12 Thread Luke Hart
Fix the following warnings reported in radio-bcm2048.c: WARNING: else is not generally useful after a break or return #374: FILE: radio-bcm2048.c:374: + return 0; + } else { WARNING: else is not generally useful after a break or return #728: FILE: radio-bcm2048.c:728: +

[PATCH 1/3] media: dvb-core move fe exit flag from fepriv to fe for driver access

2014-07-12 Thread Shuah Khan
Some fe drivers attempt to access the device for power control from their release routines. When release routines are called after device is disconnected, the attempts fail. fe drivers should avoid accessing the device, from their release interfaces when called from disconnect path. dvb-frontend ma

[PATCH 3/3] media: drx39xyj driver change to check fe exit flag from release

2014-07-12 Thread Shuah Khan
Change drx39xyj_release() to check fe exit flag to detect the device disconnect state and avoid accessing the device after it has been removed. Signed-off-by: Shuah Khan --- drivers/media/dvb-frontends/drx39xyj/drxj.c |4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/driv

[PATCH 2/3] media: em28xx-dvb update fe exit flag to indicate device disconnect

2014-07-12 Thread Shuah Khan
Change em28xx_dvb_fini() to set fe exit flag to DVB_FE_DEVICE_REMOVED when device is disconnected. em28xx maintains device disconnect status in em28xx device. fe drivers will be able to now check the fe exit status to avoid accessing the device, from their release interfaces when called from discon

[PATCH 0/3] media: prevent driver device access in disconnect path

2014-07-12 Thread Shuah Khan
Some fe drivers attempt to access the device for power control from their release routines. When release routines are called after device is disconnected, the attempts fail. fe drivers should avoid accessing the device, from their release interfaces when called from disconnect path. The problem is

[PATCH] mb86a20s: fix ISDB-T mode handling

2014-07-12 Thread Mauro Carvalho Chehab
The driver was reporting an incorrect mode, when mode 2 is selected. While testing it, noticed that neither mode 1 or guard interval 1/32 is supported by this device. Document it, and ensure that it will report _AUTO when it doesn't lock, in order to not report a wrong detection to userspace. Cc:

Re: [PATCH 1/1] drivers/base/dma-buf.c: replace dma_buf_uninit_debugfs by debugfs_remove_recursive

2014-07-12 Thread Fabian Frederick
> On 10 July 2014 at 02:34 Greg Kroah-Hartman > wrote: > > > On Fri, Jun 27, 2014 at 10:32:10PM +0200, Fabian Frederick wrote: > > null test before debugfs_remove_recursive is not needed so one line function > > dma_buf_uninit_debugfs can be removed. > > > > This patch calls debugfs_remove_recur