Re: [GIT PULL]: few dma-buf updates for 3.20-rc1

2015-02-22 Thread Sumit Semwal
Hi Linus,

On 22 February 2015 at 01:42, Linus Torvalds
 wrote:
> On Fri, Feb 20, 2015 at 8:27 AM, Sumit Semwal  wrote:
>>
>> Could you please pull a few dma-buf changes for 3.20-rc1? Nothing
>> fancy, minor cleanups.
>
> No.
>
> I pulled, and immediately unpulled again.
>
> This is complete shit, and the compiler even tells you so:
>
> drivers/staging/android/ion/ion.c: In function ‘ion_share_dma_buf’:
> drivers/staging/android/ion/ion.c:1112:24: warning: ‘buffer’ is
> used uninitialized in this function [-Wuninitialized]
>  exp_info.size = buffer->size;
> ^
>
> Introduced by "dma-buf: cleanup dma_buf_export() to make it easily 
> extensible".
>
> I'm not taking "cleanups" like this.  And I certainly don't appreciate
> being sent completely bogus shit pull requests at the end of the merge
> cycle.

I apologize sincerely; I shouldn't have missed it before sending you
the pull request. (stupid copy-paste across files is certainly no
excuse for this).

This got caught in for-next too, but right after I sent the pull-request :(.

I also shouldn't have sent it so late in the merge cycle - this could
certainly wait till -rc2, which would've helped me correct it before
the request to you. Serves me right to try and meet the merge-cycle
deadline in a jet-lagged state!

I will definitely take extra precautions next time onward, so you
don't see negligence like this in my requests to you.

Apologies again!
>
>Linus

Best regards,
Sumit.
--
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


Mygica T230 DVB-T/T2/C Ubuntu 14.04 (kernel 3.13.0-45) using media_build

2015-02-22 Thread Gert-Jan van der Stroom
Can someone help me to get a Mygica T230 DVB-T/T2/C working on Ubuntu 14.04
(kernel 3.13.0-45) using media_build.
I succeed doing a build of the media_build, the drivers also load when I
attach the Mygica, but when I try to use it (tvheadend) it crashes:

[   61.592114] dvb-usb: found a 'Mygica T230 DVB-T/T2/C' in warm state.
[   61.828138] dvb-usb: will pass the complete MPEG2 transport stream to the
software demuxer.
[   61.828279] DVB: registering new adapter (Mygica T230 DVB-T/T2/C)
[   61.847369] i2c i2c-7: Added multiplexed i2c bus 8
[   61.847372] si2168 7-0064: Silicon Labs Si2168 successfully attached
[   61.857024] si2157 8-0060: Silicon Labs Si2147/2148/2157/2158
successfully attached
[   61.857034] usb 1-5: DVB: registering adapter 0 frontend 0 (Silicon Labs
Si2168)...
[   61.857488] input: IR-receiver inside an USB DVB receiver as
/devices/pci:00/:00:1a.7/usb1/1-5/input/input11
[   61.857541] dvb-usb: schedule remote query interval to 100 msecs.
[   61.857709] dvb-usb: Mygica T230 DVB-T/T2/C successfully initialized and
connected.
[   61.857773] usbcore: registered new interface driver dvb_usb_cxusb

Tvheadend start:
[  314.356162] BUG: unable to handle kernel NULL pointer dereference at
0010
[  314.356202] IP: []
media_entity_pipeline_start+0x1c/0x390 [media]
[  314.356236] PGD 76c6c067 PUD 766b0067 PMD 0
[  314.356260] Oops:  [#1] SMP
[  314.356279] Modules linked in: si2157(OX) si2168(OX) i2c_mux
dvb_usb_cxusb(OX) dib0070(OX) dvb_usb(OX) dvb_core(OX) rc_core(OX) media(OX)
snd_hda_codec_analog gpio_ich hp_wmi sparse_keymap coretemp kvm_intel kvm
serio_raw snd_hda_intel i915 lpc_ich snd_hda_codec shpchp drm_kms_helper
snd_hwdep snd_pcm snd_page_alloc snd_timer pl2303 video wmi tpm_infineon drm
mac_hid mei_me snd soundcore i2c_algo_bit usbserial mei lp parport psmouse
e1000e floppy ptp pps_core pata_acpi
[  314.356541] CPU: 1 PID: 1053 Comm: kdvb-ad-0-fe-0 Tainted: GW  OX
3.13.0-45-generic #74-Ubuntu

What is wrong, or do I miss something ?
I also added the firmware described at:
http://www.linuxtv.org/wiki/index.php/Geniatech_T230

--
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


Re: Linux TV support Elgato EyeTV hybrid

2015-02-22 Thread Gilles Risch

Hi,

most of the used components are identified:
- USB Controller: Empia EM2884
- Stereo A/V Decoder: Micronas AVF 49x0B
- Hybrid Channel Decoder: Micronas DRX-K DRX3926K:A3 0.9.0
The only ambiguity is the tuner, but I think it could be a Xceive XC5000 
because the windows driver comprises the xc5000 firmware and it is 100% 
identical:

$ mkdir extract-xc5000-fw
$ cd extract-xc5000-fw
$ wget http://linuxtv.org/downloads/firmware/dvb-fe-xc5000-1.6.114.fw
$ wget 
http://elgatoweb.s3.amazonaws.com/Documents/Support/EyeTV_Hybrid/EyeTV_Hybrid_2008_509081301_W8.exe

$ 7z -y e EyeTV_Hybrid_2008_509081301_W8.exe
$ dd if=emBDA.sys of=dvb-fe-xc5000-test.fw bs=1 skip=518800 
count=12401 >/dev/null 2>&1

$ md5sum dvb-fe-xc5000-1.6.114.fw dvb-fe-xc5000-test.fw
b1ac8f759020523ebaaeff3fdf4789ed  dvb-fe-xc5000-1.6.114.fw
b1ac8f759020523ebaaeff3fdf4789ed  dvb-fe-xc5000-test.fw

The Elgato_EyeTV_Hybrid.inf file contains a comment with "TerraTec H5", 
which components are assembled on that USB stick?



Regards,
Gilles

On 02/21/2015 08:08 PM, Olli Salonen wrote:

Hi Gilles,

Not sure if the following information will help you, but here comes.
The USB bridge is EM2884, supported by em28xx driver. The Micronas
demodulator is probably supported by drxk driver. Tuner I did not
recognize after a quick glimpse. That sandwich construction look like
something PCTV has used with some of their designs (290e and 292e for
example).

In order to have a driver for your device you need to have each
individual component supported (USB bridge, demod and tuner). Then
these can be combined into a driver (typically by modifying the USB
bridge driver).

Cheers,
-olli

On 20 February 2015 at 18:19, Gilles Risch  wrote:

Hello,

I'm owning an Elgato EyeTV hybrid USB stick that I'm using daily on my
iMac, now I'd like to use it on my laptop too but I'm unable to get it
running. Is this device already supported? If not, is there any way I
can help? I've already opened my device and uploaded the photos to the
linux TV wiki page
(http://www.linuxtv.org/wiki/index.php/Elgato_EyeTV_hybrid).
I'm not sure which tuner is mounted on the PCB, therefor I've made two
USB traces, maybe someone could interpret them and conclude which one
is used:
https://www.dropbox.com/s/99b2a17ohu0zqpz/20150219-EyeTV_Hybrid_capturedTV.pcap?dl=0
https://www.dropbox.com/s/q4k8zf8d3qpxznu/20150219-EyeTV_Hybrid_Pluggedin.pcap?dl=0

Kind regards,
Gilles
--
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


--
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


Re: DVB Simulcrypt

2015-02-22 Thread Rudy Zijlstra

Some more info

On 21-02-15 22:30, Rudy Zijlstra wrote:

Dears (Hans?)

My setup, where the cable operator was using only irdeto, was working 
good. Then the cable operator merged with another, and now the 
networks are being merged. As a result, the encryption has moved from 
irdeto only to simulcyrpt with Irdeto and Nagra.


Current status:
- when i put the CA card in a STB, it works
- when trying to record an encrypted channel from PC, it no longer works.
Recording system has 3 tuners. All equal, all with same permissions on 
the smartcard. On cards 0 and 2 does not work, but card 1 does work, on 
all channels tested.




I suspect the problem is that the wrong keys are used: Nagra keys in 
stead of Irdeto keys.


I do not know whether:
- kernel issue (is simulcrypt supported?)
- API issue (is all support in place to select the right key stream?)
- application issue (does the application allow to set the right CA?)

If this is an application issue, could it be solved by setting the API 
outside the application, to direct it to the right (Irdeto in my case) 
encryption?


The application i am using is MythTV.


Cheers


Rudy
--
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


--
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


[PATCH 05/10] [media] siano: replace sms_log() by pr_debug()

2015-02-22 Thread Mauro Carvalho Chehab
Despite its name, those functions are acutally debug
prints for the IR part of the driver. So, properly
map them using pr_debug()

Signed-off-by: Mauro Carvalho Chehab 
---
 drivers/media/common/siano/smscoreapi.h | 1 -
 drivers/media/common/siano/smsir.c  | 8 
 2 files changed, 4 insertions(+), 5 deletions(-)

diff --git a/drivers/media/common/siano/smscoreapi.h 
b/drivers/media/common/siano/smscoreapi.h
index 9ea6a10757d5..ab6506fd65c8 100644
--- a/drivers/media/common/siano/smscoreapi.h
+++ b/drivers/media/common/siano/smscoreapi.h
@@ -1179,7 +1179,6 @@ int smscore_led_state(struct smscore_device_t *core, int 
led);
 #define DBG_INFO 1
 #define DBG_ADV  2
 
-#define sms_log(fmt, arg...) pr_info(fmt "\n", ##arg)
 #define sms_info(fmt, arg...) do {\
if (sms_dbg & DBG_INFO) \
pr_info(fmt "\n", ##arg); \
diff --git a/drivers/media/common/siano/smsir.c 
b/drivers/media/common/siano/smsir.c
index 2e0f96ff5594..825e1ca0f9d8 100644
--- a/drivers/media/common/siano/smsir.c
+++ b/drivers/media/common/siano/smsir.c
@@ -57,14 +57,14 @@ int sms_ir_init(struct smscore_device_t *coredev)
int board_id = smscore_get_board_id(coredev);
struct rc_dev *dev;
 
-   sms_log("Allocating rc device");
+   pr_debug("Allocating rc device\n");
dev = rc_allocate_device();
if (!dev)
return -ENOMEM;
 
coredev->ir.controller = 0; /* Todo: vega/nova SPI number */
coredev->ir.timeout = IR_DEFAULT_TIMEOUT;
-   sms_log("IR port %d, timeout %d ms",
+   pr_debug("IR port %d, timeout %d ms\n",
coredev->ir.controller, coredev->ir.timeout);
 
snprintf(coredev->ir.name, sizeof(coredev->ir.name),
@@ -91,7 +91,7 @@ int sms_ir_init(struct smscore_device_t *coredev)
dev->map_name = sms_get_board(board_id)->rc_codes;
dev->driver_name = MODULE_NAME;
 
-   sms_log("Input device (IR) %s is set for key events", dev->input_name);
+   pr_debug("Input device (IR) %s is set for key events\n", 
dev->input_name);
 
err = rc_register_device(dev);
if (err < 0) {
@@ -108,5 +108,5 @@ void sms_ir_exit(struct smscore_device_t *coredev)
 {
rc_unregister_device(coredev->ir.dev);
 
-   sms_log("");
+   pr_debug("\n");
 }
-- 
2.1.0

--
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


[PATCH 06/10] [media] siano: replace sms_debug() by pr_debug()

2015-02-22 Thread Mauro Carvalho Chehab
There's no reason to use a macro here. Just replace everything,
and let those debug messages to be activated via dynamic printk.

Signed-off-by: Mauro Carvalho Chehab 
---
 drivers/media/common/siano/sms-cards.c   |  2 +-
 drivers/media/common/siano/smscoreapi.c  | 39 
 drivers/media/common/siano/smscoreapi.h  |  5 
 drivers/media/common/siano/smsdvb-main.c | 22 +-
 drivers/media/usb/siano/smsusb.c | 10 
 5 files changed, 37 insertions(+), 41 deletions(-)

diff --git a/drivers/media/common/siano/sms-cards.c 
b/drivers/media/common/siano/sms-cards.c
index 9c7a9452c04c..3745a2610ef9 100644
--- a/drivers/media/common/siano/sms-cards.c
+++ b/drivers/media/common/siano/sms-cards.c
@@ -342,7 +342,7 @@ int sms_board_lna_control(struct smscore_device_t *coredev, 
int onoff)
int board_id = smscore_get_board_id(coredev);
struct sms_board *board = sms_get_board(board_id);
 
-   sms_debug("%s: LNA %s", __func__, onoff ? "enabled" : "disabled");
+   pr_debug("%s: LNA %s\n", __func__, onoff ? "enabled" : "disabled");
 
switch (board_id) {
case SMS1XXX_BOARD_HAUPPAUGE_TIGER_MINICARD_R2:
diff --git a/drivers/media/common/siano/smscoreapi.c 
b/drivers/media/common/siano/smscoreapi.c
index 1f99698a211e..e5bde84ec0be 100644
--- a/drivers/media/common/siano/smscoreapi.c
+++ b/drivers/media/common/siano/smscoreapi.c
@@ -841,7 +841,7 @@ static int smscore_configure_board(struct smscore_device_t 
*coredev)
 
if (board->mtu) {
struct sms_msg_data mtu_msg;
-   sms_debug("set max transmit unit %d", board->mtu);
+   pr_debug("set max transmit unit %d\n", board->mtu);
 
mtu_msg.x_msg_header.msg_src_id = 0;
mtu_msg.x_msg_header.msg_dst_id = HIF_TASK;
@@ -856,7 +856,7 @@ static int smscore_configure_board(struct smscore_device_t 
*coredev)
 
if (board->crystal) {
struct sms_msg_data crys_msg;
-   sms_debug("set crystal value %d", board->crystal);
+   pr_debug("set crystal value %d\n", board->crystal);
 
SMS_INIT_MSG(&crys_msg.x_msg_header,
MSG_SMS_NEW_CRYSTAL_REQ,
@@ -941,7 +941,7 @@ static int smscore_load_firmware_family2(struct 
smscore_device_t *coredev,
return -ENOMEM;
 
if (coredev->mode != DEVICE_MODE_NONE) {
-   sms_debug("sending reload command.");
+   pr_debug("sending reload command.\n");
SMS_INIT_MSG(&msg->x_msg_header, MSG_SW_RELOAD_START_REQ,
 sizeof(struct sms_msg_hdr));
rc = smscore_sendrequest_and_wait(coredev, msg,
@@ -982,7 +982,7 @@ static int smscore_load_firmware_family2(struct 
smscore_device_t *coredev,
if (rc < 0)
goto exit_fw_download;
 
-   sms_debug("sending MSG_SMS_DATA_VALIDITY_REQ expecting 0x%x",
+   pr_debug("sending MSG_SMS_DATA_VALIDITY_REQ expecting 0x%x\n",
calc_checksum);
SMS_INIT_MSG(&msg->x_msg_header, MSG_SMS_DATA_VALIDITY_REQ,
sizeof(msg->x_msg_header) +
@@ -1001,7 +1001,7 @@ static int smscore_load_firmware_family2(struct 
smscore_device_t *coredev,
struct sms_msg_data *trigger_msg =
(struct sms_msg_data *) msg;
 
-   sms_debug("sending MSG_SMS_SWDOWNLOAD_TRIGGER_REQ");
+   pr_debug("sending MSG_SMS_SWDOWNLOAD_TRIGGER_REQ\n");
SMS_INIT_MSG(&msg->x_msg_header,
MSG_SMS_SWDOWNLOAD_TRIGGER_REQ,
sizeof(struct sms_msg_hdr) +
@@ -1037,12 +1037,13 @@ exit_fw_download:
kfree(msg);
 
if (coredev->postload_handler) {
-   sms_debug("rc=%d, postload=0x%p", rc, 
coredev->postload_handler);
+   pr_debug("rc=%d, postload=0x%p\n",
+rc, coredev->postload_handler);
if (rc >= 0)
return coredev->postload_handler(coredev->context);
}
 
-   sms_debug("rc=%d", rc);
+   pr_debug("rc=%d\n", rc);
return rc;
 }
 
@@ -1121,11 +1122,11 @@ static char *smscore_get_fw_filename(struct 
smscore_device_t *coredev,
if (mode <= DEVICE_MODE_NONE || mode >= DEVICE_MODE_MAX)
return NULL;
 
-   sms_debug("trying to get fw name from sms_boards board_id %d mode %d",
+   pr_debug("trying to get fw name from sms_boards board_id %d mode %d\n",
  board_id, mode);
fw = sms_get_board(board_id)->fw;
if (!fw || !fw[mode]) {
-   sms_debug("cannot find fw name in sms_boards, getting from 
lookup table mode %d type %d",
+   pr_debug("cannot find fw name in sms_boards, getting from 
lookup table mode %d type %d\n",
  mode, type);
return smscore_fw_lkup[type][mode];
}
@@ -1157,7 +1158,

[PATCH 10/10] [media] siano: register media controller earlier

2015-02-22 Thread Mauro Carvalho Chehab
We need to initialize the media controller earlier, as the core
will call the smsdvb hotplug during register time. Ok, this is
an async operation, so, when the module is not loaded, the media
controller works.

However, if the module is already loaded, nothing will be
registered at the media controller, as it will load too late.

Signed-off-by: Mauro Carvalho Chehab 
---
 drivers/media/common/siano/smscoreapi.c |  7 ++-
 drivers/media/common/siano/smscoreapi.h |  3 ++-
 drivers/media/usb/siano/smsusb.c| 17 +++--
 3 files changed, 19 insertions(+), 8 deletions(-)

diff --git a/drivers/media/common/siano/smscoreapi.c 
b/drivers/media/common/siano/smscoreapi.c
index cb7515ba2193..2a8d9a36d6f0 100644
--- a/drivers/media/common/siano/smscoreapi.c
+++ b/drivers/media/common/siano/smscoreapi.c
@@ -653,7 +653,8 @@ smscore_buffer_t *smscore_createbuffer(u8 *buffer, void 
*common_buffer,
  * @return 0 on success, <0 on error.
  */
 int smscore_register_device(struct smsdevice_params_t *params,
-   struct smscore_device_t **coredev)
+   struct smscore_device_t **coredev,
+   void *mdev)
 {
struct smscore_device_t *dev;
u8 *buffer;
@@ -662,6 +663,10 @@ int smscore_register_device(struct smsdevice_params_t 
*params,
if (!dev)
return -ENOMEM;
 
+#ifdef CONFIG_MEDIA_CONTROLLER_DVB
+   dev->media_dev = mdev;
+#endif
+
/* init list entry so it could be safe in smscore_unregister_device */
INIT_LIST_HEAD(&dev->entry);
 
diff --git a/drivers/media/common/siano/smscoreapi.h 
b/drivers/media/common/siano/smscoreapi.h
index 6ff8f64a3794..eb8bd689b936 100644
--- a/drivers/media/common/siano/smscoreapi.h
+++ b/drivers/media/common/siano/smscoreapi.h
@@ -1123,7 +1123,8 @@ extern int smscore_register_hotplug(hotplug_t hotplug);
 extern void smscore_unregister_hotplug(hotplug_t hotplug);
 
 extern int smscore_register_device(struct smsdevice_params_t *params,
-  struct smscore_device_t **coredev);
+  struct smscore_device_t **coredev,
+  void *mdev);
 extern void smscore_unregister_device(struct smscore_device_t *coredev);
 
 extern int smscore_start_device(struct smscore_device_t *coredev);
diff --git a/drivers/media/usb/siano/smsusb.c b/drivers/media/usb/siano/smsusb.c
index 7d57b2677130..37fc1ef84575 100644
--- a/drivers/media/usb/siano/smsusb.c
+++ b/drivers/media/usb/siano/smsusb.c
@@ -340,12 +340,12 @@ static void smsusb_term_device(struct usb_interface *intf)
usb_set_intfdata(intf, NULL);
 }
 
-static void siano_media_device_register(struct smsusb_device_t *dev)
+static void *siano_media_device_register(struct smsusb_device_t *dev,
+   int board_id)
 {
 #ifdef CONFIG_MEDIA_CONTROLLER_DVB
struct media_device *mdev;
struct usb_device *udev = dev->udev;
-   int board_id = smscore_get_board_id(dev->coredev);
struct sms_board *board = sms_get_board(board_id);
int ret;
 
@@ -369,10 +369,11 @@ static void siano_media_device_register(struct 
smsusb_device_t *dev)
return;
}
 
-   dev->coredev->media_dev = mdev;
-
pr_info("media controller created\n");
 
+   return mdev;
+#else
+   return NULL;
 #endif
 }
 
@@ -380,6 +381,7 @@ static int smsusb_init_device(struct usb_interface *intf, 
int board_id)
 {
struct smsdevice_params_t params;
struct smsusb_device_t *dev;
+   void *mdev;
int i, rc;
 
/* create device object */
@@ -433,11 +435,15 @@ static int smsusb_init_device(struct usb_interface *intf, 
int board_id)
params.context = dev;
usb_make_path(dev->udev, params.devpath, sizeof(params.devpath));
 
+   mdev = siano_media_device_register(dev, board_id);
+
/* register in smscore */
-   rc = smscore_register_device(¶ms, &dev->coredev);
+   rc = smscore_register_device(¶ms, &dev->coredev, mdev);
if (rc < 0) {
pr_err("smscore_register_device(...) failed, rc %d\n", rc);
smsusb_term_device(intf);
+   media_device_unregister(mdev);
+   kfree(mdev);
return rc;
}
 
@@ -469,7 +475,6 @@ static int smsusb_init_device(struct usb_interface *intf, 
int board_id)
}
 
pr_debug("device 0x%p created\n", dev);
-   siano_media_device_register(dev);
 
return rc;
 }
-- 
2.1.0

--
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


[PATCH 07/10] [media] siano: get rid of sms_info()

2015-02-22 Thread Mauro Carvalho Chehab
On most cases, sms_info() should actually be pr_debug(), but,
on other places, it should be pr_info().

Signed-off-by: Mauro Carvalho Chehab 
---
 drivers/media/common/siano/smscoreapi.c  | 44 +++-
 drivers/media/common/siano/smscoreapi.h  |  8 --
 drivers/media/common/siano/smsdvb-main.c | 10 
 drivers/media/usb/siano/smsusb.c | 29 +++--
 4 files changed, 40 insertions(+), 51 deletions(-)

diff --git a/drivers/media/common/siano/smscoreapi.c 
b/drivers/media/common/siano/smscoreapi.c
index e5bde84ec0be..36b44ce1373e 100644
--- a/drivers/media/common/siano/smscoreapi.c
+++ b/drivers/media/common/siano/smscoreapi.c
@@ -636,10 +636,8 @@ smscore_buffer_t *smscore_createbuffer(u8 *buffer, void 
*common_buffer,
struct smscore_buffer_t *cb;
 
cb = kzalloc(sizeof(struct smscore_buffer_t), GFP_KERNEL);
-   if (!cb) {
-   sms_info("kzalloc(...) failed");
+   if (!cb)
return NULL;
-   }
 
cb->p = buffer;
cb->offset_in_common = buffer - (u8 *) common_buffer;
@@ -665,10 +663,8 @@ int smscore_register_device(struct smsdevice_params_t 
*params,
u8 *buffer;
 
dev = kzalloc(sizeof(struct smscore_device_t), GFP_KERNEL);
-   if (!dev) {
-   sms_info("kzalloc(...) failed");
+   if (!dev)
return -ENOMEM;
-   }
 
/* init list entry so it could be safe in smscore_unregister_device */
INIT_LIST_HEAD(&dev->entry);
@@ -723,7 +719,7 @@ int smscore_register_device(struct smsdevice_params_t 
*params,
smscore_putbuffer(dev, cb);
}
 
-   sms_info("allocated %d buffers", dev->num_buffers);
+   pr_debug("allocated %d buffers\n", dev->num_buffers);
 
dev->mode = DEVICE_MODE_NONE;
dev->board_id = SMS_BOARD_UNKNOWN;
@@ -747,7 +743,7 @@ int smscore_register_device(struct smsdevice_params_t 
*params,
 
*coredev = dev;
 
-   sms_info("device %p created", dev);
+   pr_debug("device %p created\n", dev);
 
return 0;
 }
@@ -764,7 +760,7 @@ static int smscore_sendrequest_and_wait(struct 
smscore_device_t *coredev,
 
rc = coredev->sendrequest_handler(coredev->context, buffer, size);
if (rc < 0) {
-   sms_info("sendrequest returned error %d", rc);
+   pr_info("sendrequest returned error %d\n", rc);
return rc;
}
 
@@ -787,7 +783,7 @@ static int smscore_init_ir(struct smscore_device_t *coredev)
coredev->ir.dev = NULL;
ir_io = sms_get_board(smscore_get_board_id(coredev))->board_cfg.ir;
if (ir_io) {/* only if IR port exist we use IR sub-module */
-   sms_info("IR loading");
+   pr_debug("IR loading\n");
rc = sms_ir_init(coredev);
 
if  (rc != 0)
@@ -816,7 +812,7 @@ static int smscore_init_ir(struct smscore_device_t *coredev)
pr_err("Sending IR initialization message 
failed\n");
}
} else
-   sms_info("IR port has not been detected");
+   pr_info("IR port has not been detected\n");
 
return 0;
 }
@@ -890,12 +886,12 @@ int smscore_start_device(struct smscore_device_t *coredev)
 
rc = smscore_set_device_mode(coredev, mode);
if (rc < 0) {
-   sms_info("set device mode faile , rc %d", rc);
+   pr_info("set device mode failed , rc %d\n", rc);
return rc;
}
rc = smscore_configure_board(coredev);
if (rc < 0) {
-   sms_info("configure board failed , rc %d", rc);
+   pr_info("configure board failed , rc %d\n", rc);
return rc;
}
 
@@ -904,7 +900,7 @@ int smscore_start_device(struct smscore_device_t *coredev)
rc = smscore_notify_callbacks(coredev, coredev->device, 1);
smscore_init_ir(coredev);
 
-   sms_info("device %p started, rc %d", coredev, rc);
+   pr_debug("device %p started, rc %d\n", coredev, rc);
 
kmutex_unlock(&g_smscore_deviceslock);
 
@@ -927,7 +923,7 @@ static int smscore_load_firmware_family2(struct 
smscore_device_t *coredev,
 
mem_address = firmware->start_address;
 
-   sms_info("loading FW to addr 0x%x size %d",
+   pr_debug("loading FW to addr 0x%x size %d\n",
 mem_address, firmware->length);
if (coredev->preload_handler) {
rc = coredev->preload_handler(coredev->context);
@@ -1169,7 +1165,7 @@ static int smscore_load_firmware_from_file(struct 
smscore_device_t *coredev,
pr_err("failed to open firmware file '%s'\n", fw_filename);
return rc;
}
-   sms_info("read fw %s, buffer size=0x%zx", fw_filename, fw->size);
+   pr_debug("read fw %s, buffer size=0x%zx\n", fw_filename, fw->size);
fw_buf = kmalloc(ALIGN(fw->size, SMS_ALLOC_ALIGNMENT),
 GFP_KERNEL | GF

[PATCH 00/10] siano: add media controller and use pr_foo()

2015-02-22 Thread Mauro Carvalho Chehab
The first patch adds media controller support. It is a rebased
version of a previously sent patch, plus the logic to unregister
the media controller device.

The next 8 patches convert siano to pr_foo() and removes the
now obsolete sms_dbg parameter.

The last patch fixes an issue on initializing the media controller
entities that happens when the device is removed and re-inserted.

Mauro Carvalho Chehab (10):
  [media] siano: add support for the media controller at USB driver
  [media] siano: use pr_* print functions
  [media] siano: replace sms_warn() by pr_warn()
  [media] siano: replace sms_err by pr_err
  [media] siano: replace sms_log() by pr_debug()
  [media] siano: replace sms_debug() by pr_debug()
  [media] siano: get rid of sms_info()
  [media] siano: get rid of sms_dbg parameter
  [media] siano: print a message if DVB register succeeds
  [media] siano: register media controller earlier

 drivers/media/common/siano/sms-cards.c  |   8 +-
 drivers/media/common/siano/sms-cards.h  |   3 +-
 drivers/media/common/siano/smscoreapi.c | 164 ++--
 drivers/media/common/siano/smscoreapi.h |  32 ++
 drivers/media/common/siano/smsdvb-debugfs.c |   2 +-
 drivers/media/common/siano/smsdvb-main.c|  74 -
 drivers/media/common/siano/smsir.c  |  17 ++-
 drivers/media/mmc/siano/smssdio.c   |  12 +-
 drivers/media/usb/siano/smsusb.c| 131 ++
 9 files changed, 239 insertions(+), 204 deletions(-)

-- 
2.1.0

--
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


[PATCH 03/10] [media] siano: replace sms_warn() by pr_warn()

2015-02-22 Thread Mauro Carvalho Chehab
There's no reason for a sms' own sms_warn macro. Just replace
it by the standard pr_warn().

Signed-off-by: Mauro Carvalho Chehab 
---
 drivers/media/common/siano/smscoreapi.h | 1 -
 drivers/media/usb/siano/smsusb.c| 6 +++---
 2 files changed, 3 insertions(+), 4 deletions(-)

diff --git a/drivers/media/common/siano/smscoreapi.h 
b/drivers/media/common/siano/smscoreapi.h
index b5d85fd0bee8..13bd7ef7a588 100644
--- a/drivers/media/common/siano/smscoreapi.h
+++ b/drivers/media/common/siano/smscoreapi.h
@@ -1181,7 +1181,6 @@ int smscore_led_state(struct smscore_device_t *core, int 
led);
 
 #define sms_log(fmt, arg...) pr_info(fmt "\n", ##arg)
 #define sms_err(fmt, arg...) pr_err(fmt " on line: %d\n", ##arg, __LINE__)
-#define sms_warn(fmt, arg...) pr_warn(fmt "\n", ##arg)
 #define sms_info(fmt, arg...) do {\
if (sms_dbg & DBG_INFO) \
pr_info(fmt "\n", ##arg); \
diff --git a/drivers/media/usb/siano/smsusb.c b/drivers/media/usb/siano/smsusb.c
index 426455118d02..244674599878 100644
--- a/drivers/media/usb/siano/smsusb.c
+++ b/drivers/media/usb/siano/smsusb.c
@@ -258,13 +258,13 @@ static int smsusb1_load_firmware(struct usb_device *udev, 
int id, int board_id)
 
rc = request_firmware(&fw, fw_filename, &udev->dev);
if (rc < 0) {
-   sms_warn("failed to open \"%s\" mode %d, "
-"trying again with default firmware", fw_filename, id);
+   pr_warn("failed to open '%s' mode %d, trying again with default 
firmware\n",
+   fw_filename, id);
 
fw_filename = smsusb1_fw_lkup[id];
rc = request_firmware(&fw, fw_filename, &udev->dev);
if (rc < 0) {
-   sms_warn("failed to open \"%s\" mode %d",
+   pr_warn("failed to open '%s' mode %d\n",
 fw_filename, id);
 
return rc;
-- 
2.1.0

--
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


[PATCH 01/10] [media] siano: add support for the media controller at USB driver

2015-02-22 Thread Mauro Carvalho Chehab
Adding support for the media controller for a pure DVB device
is simple: just create a struct media_device and add it to the
dvb adapter. After creating all DVB devices, we need to call
the DVB core, for it to create the media graph.

More work is needed for pure DVB tuners, but this is hidden
at the Siano driver, just like several others non-hybrid
devices. So, this is streight forward.

Signed-off-by: Mauro Carvalho Chehab 
---
 drivers/media/common/siano/smscoreapi.h  |  6 ++
 drivers/media/common/siano/smsdvb-main.c | 20 +
 drivers/media/usb/siano/smsusb.c | 37 
 3 files changed, 63 insertions(+)

diff --git a/drivers/media/common/siano/smscoreapi.h 
b/drivers/media/common/siano/smscoreapi.h
index 9c9063cd3208..efe4ab090aec 100644
--- a/drivers/media/common/siano/smscoreapi.h
+++ b/drivers/media/common/siano/smscoreapi.h
@@ -31,6 +31,8 @@ along with this program.  If not, see 
.
 #include 
 #include 
 
+#include 
+
 #include 
 
 #include "smsir.h"
@@ -215,6 +217,10 @@ struct smscore_device_t {
bool is_usb_device;
 
int led_state;
+
+#if defined(CONFIG_MEDIA_CONTROLLER_DVB)
+   struct media_device *media_dev;
+#endif
 };
 
 /* GPIO definitions for antenna frequency domain control (SMS8021) */
diff --git a/drivers/media/common/siano/smsdvb-main.c 
b/drivers/media/common/siano/smsdvb-main.c
index 85151efdd94c..042515915e20 100644
--- a/drivers/media/common/siano/smsdvb-main.c
+++ b/drivers/media/common/siano/smsdvb-main.c
@@ -613,6 +613,19 @@ static int smsdvb_onresponse(void *context, struct 
smscore_buffer_t *cb)
return 0;
 }
 
+static void smsdvb_media_device_unregister(struct smsdvb_client_t *client)
+{
+   struct smscore_device_t *coredev = client->coredev;
+
+#ifdef CONFIG_MEDIA_CONTROLLER_DVB
+   if (!coredev->media_dev)
+   return;
+   media_device_unregister(coredev->media_dev);
+   kfree(coredev->media_dev);
+   coredev->media_dev = NULL;
+#endif
+}
+
 static void smsdvb_unregister_client(struct smsdvb_client_t *client)
 {
/* must be called under clientslock */
@@ -624,6 +637,7 @@ static void smsdvb_unregister_client(struct smsdvb_client_t 
*client)
dvb_unregister_frontend(&client->frontend);
dvb_dmxdev_release(&client->dmxdev);
dvb_dmx_release(&client->demux);
+   smsdvb_media_device_unregister(client);
dvb_unregister_adapter(&client->adapter);
kfree(client);
 }
@@ -1096,6 +1110,9 @@ static int smsdvb_hotplug(struct smscore_device_t 
*coredev,
sms_err("dvb_register_adapter() failed %d", rc);
goto adapter_error;
}
+#ifdef CONFIG_MEDIA_CONTROLLER_DVB
+   client->adapter.mdev = coredev->media_dev;
+#endif
 
/* init dvb demux */
client->demux.dmx.capabilities = DMX_TS_FILTERING;
@@ -1175,6 +1192,8 @@ static int smsdvb_hotplug(struct smscore_device_t 
*coredev,
if (smsdvb_debugfs_create(client) < 0)
sms_info("failed to create debugfs node");
 
+   dvb_create_media_graph(coredev->media_dev);
+
return 0;
 
 client_error:
@@ -1187,6 +1206,7 @@ dmxdev_error:
dvb_dmx_release(&client->demux);
 
 dvbdmx_error:
+   smsdvb_media_device_unregister(client);
dvb_unregister_adapter(&client->adapter);
 
 adapter_error:
diff --git a/drivers/media/usb/siano/smsusb.c b/drivers/media/usb/siano/smsusb.c
index 94e10b10b66e..4b6db7557e33 100644
--- a/drivers/media/usb/siano/smsusb.c
+++ b/drivers/media/usb/siano/smsusb.c
@@ -346,6 +346,42 @@ static void smsusb_term_device(struct usb_interface *intf)
usb_set_intfdata(intf, NULL);
 }
 
+static void siano_media_device_register(struct smsusb_device_t *dev)
+{
+#ifdef CONFIG_MEDIA_CONTROLLER_DVB
+   struct media_device *mdev;
+   struct usb_device *udev = dev->udev;
+   int board_id = smscore_get_board_id(dev->coredev);
+   struct sms_board *board = sms_get_board(board_id);
+   int ret;
+
+   mdev = kzalloc(sizeof(*mdev), GFP_KERNEL);
+   if (!mdev)
+   return;
+
+   mdev->dev = &udev->dev;
+   strlcpy(mdev->model, board->name, sizeof(mdev->model));
+   if (udev->serial)
+   strlcpy(mdev->serial, udev->serial, sizeof(mdev->serial));
+   strcpy(mdev->bus_info, udev->devpath);
+   mdev->hw_revision = le16_to_cpu(udev->descriptor.bcdDevice);
+   mdev->driver_version = LINUX_VERSION_CODE;
+
+   ret = media_device_register(mdev);
+   if (ret) {
+   sms_err("Couldn't create a media device. Error: %d\n",
+   ret);
+   kfree(mdev);
+   return;
+   }
+
+   dev->coredev->media_dev = mdev;
+
+   sms_info("media controller created");
+
+#endif
+}
+
 static int smsusb_init_device(struct usb_interface *intf, int board_id)
 {
struct smsdevice_params_t params;
@@ -439,6 +475,7 @@ static int smsusb_init_device(stru

[PATCH 09/10] [media] siano: print a message if DVB register succeeds

2015-02-22 Thread Mauro Carvalho Chehab
Right now, this is a debug message, misplaced. Promote it
to an info message, as it helps to discover if something
bad happened during device init.

Signed-off-by: Mauro Carvalho Chehab 
---
 drivers/media/common/siano/smsdvb-main.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/drivers/media/common/siano/smsdvb-main.c 
b/drivers/media/common/siano/smsdvb-main.c
index e6c41a4941f4..b121f4f262ec 100644
--- a/drivers/media/common/siano/smsdvb-main.c
+++ b/drivers/media/common/siano/smsdvb-main.c
@@ -1182,7 +1182,6 @@ static int smsdvb_hotplug(struct smscore_device_t 
*coredev,
client->event_unc_state = -1;
sms_board_dvb3_event(client, DVB3_EVENT_HOTPLUG);
 
-   pr_debug("success\n");
sms_board_setup(coredev);
 
if (smsdvb_debugfs_create(client) < 0)
@@ -1190,6 +1189,7 @@ static int smsdvb_hotplug(struct smscore_device_t 
*coredev,
 
dvb_create_media_graph(coredev->media_dev);
 
+   pr_info("DVB interface registered.\n");
return 0;
 
 client_error:
-- 
2.1.0

--
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


[PATCH 04/10] [media] siano: replace sms_err by pr_err

2015-02-22 Thread Mauro Carvalho Chehab
Originally, sms_err() would be also displaying the line where
the error occurs, but the messages are clear enough. Also,
the function is always printed. So, no need for it.

Signed-off-by: Mauro Carvalho Chehab 
---
 drivers/media/common/siano/sms-cards.c  |  2 +-
 drivers/media/common/siano/smscoreapi.c | 67 ++---
 drivers/media/common/siano/smscoreapi.h |  1 -
 drivers/media/common/siano/smsdvb-debugfs.c |  2 +-
 drivers/media/common/siano/smsdvb-main.c| 14 +++---
 drivers/media/common/siano/smsir.c  |  6 +--
 drivers/media/mmc/siano/smssdio.c   | 12 +++---
 drivers/media/usb/siano/smsusb.c| 39 -
 8 files changed, 68 insertions(+), 75 deletions(-)

diff --git a/drivers/media/common/siano/sms-cards.c 
b/drivers/media/common/siano/sms-cards.c
index 82c7a1289f05..9c7a9452c04c 100644
--- a/drivers/media/common/siano/sms-cards.c
+++ b/drivers/media/common/siano/sms-cards.c
@@ -232,7 +232,7 @@ int sms_board_event(struct smscore_device_t *coredev,
break; /* BOARD_EVENT_MULTIPLEX_ERRORS */
 
default:
-   sms_err("Unknown SMS board event");
+   pr_err("Unknown SMS board event\n");
break;
}
return 0;
diff --git a/drivers/media/common/siano/smscoreapi.c 
b/drivers/media/common/siano/smscoreapi.c
index 26dc4392c3e1..1f99698a211e 100644
--- a/drivers/media/common/siano/smscoreapi.c
+++ b/drivers/media/common/siano/smscoreapi.c
@@ -461,7 +461,7 @@ static struct smscore_registry_entry_t 
*smscore_find_registry(char *devpath)
strcpy(entry->devpath, devpath);
list_add(&entry->entry, &g_smscore_registry);
} else
-   sms_err("failed to create smscore_registry.");
+   pr_err("failed to create smscore_registry.\n");
kmutex_unlock(&g_smscore_registrylock);
return entry;
 }
@@ -474,7 +474,7 @@ int smscore_registry_getmode(char *devpath)
if (entry)
return entry->mode;
else
-   sms_err("No registry found.");
+   pr_err("No registry found.\n");
 
return default_mode;
 }
@@ -488,7 +488,7 @@ static enum sms_device_type_st 
smscore_registry_gettype(char *devpath)
if (entry)
return entry->type;
else
-   sms_err("No registry found.");
+   pr_err("No registry found.\n");
 
return -EINVAL;
 }
@@ -501,7 +501,7 @@ static void smscore_registry_setmode(char *devpath, int 
mode)
if (entry)
entry->mode = mode;
else
-   sms_err("No registry found.");
+   pr_err("No registry found.\n");
 }
 
 static void smscore_registry_settype(char *devpath,
@@ -513,7 +513,7 @@ static void smscore_registry_settype(char *devpath,
if (entry)
entry->type = type;
else
-   sms_err("No registry found.");
+   pr_err("No registry found.\n");
 }
 
 
@@ -791,7 +791,7 @@ static int smscore_init_ir(struct smscore_device_t *coredev)
rc = sms_ir_init(coredev);
 
if  (rc != 0)
-   sms_err("Error initialization DTV IR sub-module");
+   pr_err("Error initialization DTV IR sub-module\n");
else {
buffer = kmalloc(sizeof(struct sms_msg_data2) +
SMS_DMA_ALIGNMENT,
@@ -813,8 +813,7 @@ static int smscore_init_ir(struct smscore_device_t *coredev)
 
kfree(buffer);
} else
-   sms_err
-   ("Sending IR initialization message failed");
+   pr_err("Sending IR initialization message 
failed\n");
}
} else
sms_info("IR port has not been detected");
@@ -836,7 +835,7 @@ static int smscore_configure_board(struct smscore_device_t 
*coredev)
 
board = sms_get_board(coredev->board_id);
if (!board) {
-   sms_err("no board configuration exist.");
+   pr_err("no board configuration exist.\n");
return -EINVAL;
}
 
@@ -949,7 +948,7 @@ static int smscore_load_firmware_family2(struct 
smscore_device_t *coredev,
  msg->x_msg_header.msg_length,
  &coredev->reload_start_done);
if (rc < 0) {
-   sms_err("device reload failed, rc %d", rc);
+   pr_err("device reload failed, rc %d\n", rc);
goto exit_fw_download;
}
mem_address = *(u32 *) &payload[20];
@@ -1155,7 +1154,7 @@ static int smscore_load_firmware_from_file(struct 
smscore_device_t *coredev,
 
char *fw_filename = smscore_get_fw_filename(coredev, mode);
if (!fw

[PATCH 02/10] [media] siano: use pr_* print functions

2015-02-22 Thread Mauro Carvalho Chehab
Instead of defining its own set of printk functions, let's
use the common Kernel debug logic provided by pr_foo functions.

As a first step, let's just define the existing macros as the
Kernel ones.

Signed-off-by: Mauro Carvalho Chehab 
---
 drivers/media/common/siano/sms-cards.h   |  3 ++-
 drivers/media/common/siano/smscoreapi.c  |  3 ++-
 drivers/media/common/siano/smscoreapi.h  | 27 ---
 drivers/media/common/siano/smsdvb-main.c |  3 ++-
 drivers/media/common/siano/smsir.c   |  3 ++-
 drivers/media/usb/siano/smsusb.c |  3 ++-
 6 files changed, 22 insertions(+), 20 deletions(-)

diff --git a/drivers/media/common/siano/sms-cards.h 
b/drivers/media/common/siano/sms-cards.h
index 4c4caddf9869..bb3d733f092b 100644
--- a/drivers/media/common/siano/sms-cards.h
+++ b/drivers/media/common/siano/sms-cards.h
@@ -20,8 +20,9 @@
 #ifndef __SMS_CARDS_H__
 #define __SMS_CARDS_H__
 
-#include 
 #include "smscoreapi.h"
+
+#include 
 #include "smsir.h"
 
 #define SMS_BOARD_UNKNOWN 0
diff --git a/drivers/media/common/siano/smscoreapi.c 
b/drivers/media/common/siano/smscoreapi.c
index a3677438205e..26dc4392c3e1 100644
--- a/drivers/media/common/siano/smscoreapi.c
+++ b/drivers/media/common/siano/smscoreapi.c
@@ -21,6 +21,8 @@
  *  Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA.
  */
 
+#include "smscoreapi.h"
+
 #include 
 #include 
 #include 
@@ -34,7 +36,6 @@
 #include 
 #include 
 
-#include "smscoreapi.h"
 #include "sms-cards.h"
 #include "smsir.h"
 
diff --git a/drivers/media/common/siano/smscoreapi.h 
b/drivers/media/common/siano/smscoreapi.h
index efe4ab090aec..b5d85fd0bee8 100644
--- a/drivers/media/common/siano/smscoreapi.h
+++ b/drivers/media/common/siano/smscoreapi.h
@@ -22,6 +22,8 @@ along with this program.  If not, see 
.
 #ifndef __SMS_CORE_API_H__
 #define __SMS_CORE_API_H__
 
+#define pr_fmt(fmt) "%s:%s: " fmt, KBUILD_MODNAME, __func__
+
 #include 
 #include 
 #include 
@@ -1177,22 +1179,17 @@ int smscore_led_state(struct smscore_device_t *core, 
int led);
 #define DBG_INFO 1
 #define DBG_ADV  2
 
-#define sms_printk(kern, fmt, arg...) \
-   printk(kern "%s: " fmt "\n", __func__, ##arg)
-
-#define dprintk(kern, lvl, fmt, arg...) do {\
-   if (sms_dbg & lvl) \
-   sms_printk(kern, fmt, ##arg); \
+#define sms_log(fmt, arg...) pr_info(fmt "\n", ##arg)
+#define sms_err(fmt, arg...) pr_err(fmt " on line: %d\n", ##arg, __LINE__)
+#define sms_warn(fmt, arg...) pr_warn(fmt "\n", ##arg)
+#define sms_info(fmt, arg...) do {\
+   if (sms_dbg & DBG_INFO) \
+   pr_info(fmt "\n", ##arg); \
 } while (0)
 
-#define sms_log(fmt, arg...) sms_printk(KERN_INFO, fmt, ##arg)
-#define sms_err(fmt, arg...) \
-   sms_printk(KERN_ERR, "line: %d: " fmt, __LINE__, ##arg)
-#define sms_warn(fmt, arg...)  sms_printk(KERN_WARNING, fmt, ##arg)
-#define sms_info(fmt, arg...) \
-   dprintk(KERN_INFO, DBG_INFO, fmt, ##arg)
-#define sms_debug(fmt, arg...) \
-   dprintk(KERN_DEBUG, DBG_ADV, fmt, ##arg)
-
+#define sms_debug(fmt, arg...) do {\
+if (sms_dbg & DBG_ADV) \
+printk(KERN_DEBUG pr_fmt(fmt "\n"), ##arg); \
+} while (0)
 
 #endif /* __SMS_CORE_API_H__ */
diff --git a/drivers/media/common/siano/smsdvb-main.c 
b/drivers/media/common/siano/smsdvb-main.c
index 042515915e20..6eb1b14092cb 100644
--- a/drivers/media/common/siano/smsdvb-main.c
+++ b/drivers/media/common/siano/smsdvb-main.c
@@ -19,6 +19,8 @@ along with this program.  If not, see 
.
 
 /
 
+#include "smscoreapi.h"
+
 #include 
 #include 
 #include 
@@ -29,7 +31,6 @@ along with this program.  If not, see 
.
 #include "dvb_demux.h"
 #include "dvb_frontend.h"
 
-#include "smscoreapi.h"
 #include "sms-cards.h"
 
 #include "smsdvb.h"
diff --git a/drivers/media/common/siano/smsir.c 
b/drivers/media/common/siano/smsir.c
index 35d0e887bd65..2dcae6ace282 100644
--- a/drivers/media/common/siano/smsir.c
+++ b/drivers/media/common/siano/smsir.c
@@ -25,10 +25,11 @@
  /
 
 
+#include "smscoreapi.h"
+
 #include 
 #include 
 
-#include "smscoreapi.h"
 #include "smsir.h"
 #include "sms-cards.h"
 
diff --git a/drivers/media/usb/siano/smsusb.c b/drivers/media/usb/siano/smsusb.c
index 4b6db7557e33..426455118d02 100644
--- a/drivers/media/usb/siano/smsusb.c
+++ b/drivers/media/usb/siano/smsusb.c
@@ -19,6 +19,8 @@ along with this program.  If not, see 
.
 
 /
 
+#include "smscoreapi.h"
+
 #include 
 #include 
 #include 
@@ -26,7 +28,6 @@ along with this program.  If not, see 
.
 #include 
 #include 
 
-#include "smscoreapi.h"
 #include "sms-cards.h"
 #include "smsendian.h"
 
-- 
2.1.0

--
To unsubscribe from this list: send the line "unsubscribe linux-

[PATCH 08/10] [media] siano: get rid of sms_dbg parameter

2015-02-22 Thread Mauro Carvalho Chehab
All siano modules have a sms_dbg parameter. Now that we're using
the standard pr_debug() macro, we can get rid of it.

Signed-off-by: Mauro Carvalho Chehab 
---
 drivers/media/common/siano/sms-cards.c   | 4 
 drivers/media/common/siano/smscoreapi.c  | 4 
 drivers/media/common/siano/smsdvb-main.c | 5 -
 drivers/media/usb/siano/smsusb.c | 4 
 4 files changed, 17 deletions(-)

diff --git a/drivers/media/common/siano/sms-cards.c 
b/drivers/media/common/siano/sms-cards.c
index 3745a2610ef9..ca2f80c7740c 100644
--- a/drivers/media/common/siano/sms-cards.c
+++ b/drivers/media/common/siano/sms-cards.c
@@ -21,10 +21,6 @@
 #include "smsir.h"
 #include 
 
-static int sms_dbg;
-module_param_named(cards_dbg, sms_dbg, int, 0644);
-MODULE_PARM_DESC(cards_dbg, "set debug level (info=1, adv=2 (or-able))");
-
 static struct sms_board sms_boards[] = {
[SMS_BOARD_UNKNOWN] = {
.name   = "Unknown board",
diff --git a/drivers/media/common/siano/smscoreapi.c 
b/drivers/media/common/siano/smscoreapi.c
index 36b44ce1373e..cb7515ba2193 100644
--- a/drivers/media/common/siano/smscoreapi.c
+++ b/drivers/media/common/siano/smscoreapi.c
@@ -39,10 +39,6 @@
 #include "sms-cards.h"
 #include "smsir.h"
 
-static int sms_dbg;
-module_param_named(debug, sms_dbg, int, 0644);
-MODULE_PARM_DESC(debug, "set debug level (info=1, adv=2 (or-able))");
-
 struct smscore_device_notifyee_t {
struct list_head entry;
hotplug_t hotplug;
diff --git a/drivers/media/common/siano/smsdvb-main.c 
b/drivers/media/common/siano/smsdvb-main.c
index 43bd45871b95..e6c41a4941f4 100644
--- a/drivers/media/common/siano/smsdvb-main.c
+++ b/drivers/media/common/siano/smsdvb-main.c
@@ -40,11 +40,6 @@ DVB_DEFINE_MOD_OPT_ADAPTER_NR(adapter_nr);
 static struct list_head g_smsdvb_clients;
 static struct mutex g_smsdvb_clientslock;
 
-static int sms_dbg;
-module_param_named(debug, sms_dbg, int, 0644);
-MODULE_PARM_DESC(debug, "set debug level (info=1, adv=2 (or-able))");
-
-
 static u32 sms_to_guard_interval_table[] = {
[0] = GUARD_INTERVAL_1_32,
[1] = GUARD_INTERVAL_1_16,
diff --git a/drivers/media/usb/siano/smsusb.c b/drivers/media/usb/siano/smsusb.c
index 29ef7d8dab7b..7d57b2677130 100644
--- a/drivers/media/usb/siano/smsusb.c
+++ b/drivers/media/usb/siano/smsusb.c
@@ -31,10 +31,6 @@ along with this program.  If not, see 
.
 #include "sms-cards.h"
 #include "smsendian.h"
 
-static int sms_dbg;
-module_param_named(debug, sms_dbg, int, 0644);
-MODULE_PARM_DESC(debug, "set debug level (info=1, adv=2 (or-able))");
-
 #define USB1_BUFFER_SIZE   0x1000
 #define USB2_BUFFER_SIZE   0x2000
 
-- 
2.1.0

--
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


Re: [PATCH] saa7164: free_irq before pci_disable_device

2015-02-22 Thread Steven Toth
On Sat, Feb 21, 2015 at 4:45 PM, Olli Salonen  wrote:
> Free the IRQ before disabling the device. Otherwise errors like this when 
> unloading the module:
>
> [21135.458560] [ cut here ]
> [21135.458569] WARNING: CPU: 4 PID: 1696 at 
> /home/apw/COD/linux/fs/proc/generic.c:521 remove_proc_entry+0x1a1/0x1b0()
> [21135.458572] remove_proc_entry: removing non-empty directory 'irq/47', 
> leaking at least 'saa7164[0]'
>
> Signed-off-by: Olli Salonen 

Thx.

Reviewed-by: Steven Toth 

-- 
Steven Toth - Kernel Labs
http://www.kernellabs.com
--
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


Re: Linux TV support Elgato EyeTV hybrid

2015-02-22 Thread Benjamin Larsson

On 02/22/2015 02:47 PM, Gilles Risch wrote:

Hi,

most of the used components are identified:
- USB Controller: Empia EM2884
- Stereo A/V Decoder: Micronas AVF 49x0B
- Hybrid Channel Decoder: Micronas DRX-K DRX3926K:A3 0.9.0
The only ambiguity is the tuner, but I think it could be a Xceive XC5000


This sounds like the Hauppauge WinTV HVR-930C:

http://linuxtv.org/wiki/index.php/Hauppauge_WinTV-HVR-930C


because the windows driver comprises the xc5000 firmware and it is 100%
identical:
 $ mkdir extract-xc5000-fw
 $ cd extract-xc5000-fw
 $ wget http://linuxtv.org/downloads/firmware/dvb-fe-xc5000-1.6.114.fw
 $ wget
http://elgatoweb.s3.amazonaws.com/Documents/Support/EyeTV_Hybrid/EyeTV_Hybrid_2008_509081301_W8.exe

 $ 7z -y e EyeTV_Hybrid_2008_509081301_W8.exe
 $ dd if=emBDA.sys of=dvb-fe-xc5000-test.fw bs=1 skip=518800
count=12401 >/dev/null 2>&1
 $ md5sum dvb-fe-xc5000-1.6.114.fw dvb-fe-xc5000-test.fw
 b1ac8f759020523ebaaeff3fdf4789ed  dvb-fe-xc5000-1.6.114.fw
 b1ac8f759020523ebaaeff3fdf4789ed  dvb-fe-xc5000-test.fw

The Elgato_EyeTV_Hybrid.inf file contains a comment with "TerraTec H5",
which components are assembled on that USB stick?


The TerraTec H5 has a TDA18271 tuner.




Regards,
Gilles



So most likely the Elgato EyeTV hybrid is one of these combinations. And 
it should quite feasible to add support for someone who knows the Empia 
EM2884.


MvH
Benjamin Larsson
--
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


Re: [PATCH 1/7] v4l2-subdev: replace v4l2_subdev_fh by v4l2_subdev_pad_config

2015-02-22 Thread Lad, Prabhakar
Hi Hans,

Thanks for the patch.

On Fri, Feb 13, 2015 at 11:30 AM, Hans Verkuil  wrote:
> From: Hans Verkuil 
>
> If a subdevice pad op is called from a bridge driver, then there is
> no v4l2_subdev_fh struct that can be passed to the subdevice. This
> made it hard to use such subdevs from a bridge driver.
>
> This patch replaces the v4l2_subdev_fh pointer by a v4l2_subdev_pad_config
> pointer in the pad ops. This allows bridge drivers to use the various
> try_ pad ops by creating a v4l2_subdev_pad_config struct and passing it
> along to the pad op.
>
> The v4l2_subdev_get_try_* macros had to be changed because of this, so
> I also took the opportunity to use the full name of the v4l2_subdev_get_try_*
> functions in the __V4L2_SUBDEV_MK_GET_TRY macro arguments: if you now do
> 'git grep v4l2_subdev_get_try_format' you will actually find the header
> where it is defined.
>
> One remark regarding the drivers/staging/media/davinci_vpfe patches: the
> *_init_formats() functions assumed that fh could be NULL. However, that's
> not true for this driver, it's always set. This is almost certainly a copy
> and paste from the omap3isp driver. I've updated the code to reflect the
> fact that fh is never NULL.
>
Yes omap3isp was the only reference at that time :)

> Signed-off-by: Hans Verkuil 
> Cc: Lad, Prabhakar 
> ---

The series has few checkpatch warnings, apart from that,

For patches 1-7
Acked-by: Lad, Prabhakar 
Tested-by: Lad, Prabhakar 

Regards,
--Prabhakar Lad
--
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


Re: Linux TV support Elgato EyeTV hybrid

2015-02-22 Thread Antti Palosaari

On 02/22/2015 10:04 PM, Benjamin Larsson wrote:

On 02/22/2015 02:47 PM, Gilles Risch wrote:

Hi,

most of the used components are identified:
- USB Controller: Empia EM2884
- Stereo A/V Decoder: Micronas AVF 49x0B
- Hybrid Channel Decoder: Micronas DRX-K DRX3926K:A3 0.9.0
The only ambiguity is the tuner, but I think it could be a Xceive XC5000


This sounds like the Hauppauge WinTV HVR-930C:

http://linuxtv.org/wiki/index.php/Hauppauge_WinTV-HVR-930C


It is pretty similar than 930C but not same. Compare pictures from my 
blog and those on LinuxTV wiki. PCB is different.


http://www.linuxtv.org/wiki/index.php/Elgato_EyeTV_hybrid
http://blog.palosaari.fi/2013/06/naked-hardware-10-hauppauge-wintv-hvr.html




because the windows driver comprises the xc5000 firmware and it is 100%
identical:
 $ mkdir extract-xc5000-fw
 $ cd extract-xc5000-fw
 $ wget
http://linuxtv.org/downloads/firmware/dvb-fe-xc5000-1.6.114.fw
 $ wget
http://elgatoweb.s3.amazonaws.com/Documents/Support/EyeTV_Hybrid/EyeTV_Hybrid_2008_509081301_W8.exe


 $ 7z -y e EyeTV_Hybrid_2008_509081301_W8.exe
 $ dd if=emBDA.sys of=dvb-fe-xc5000-test.fw bs=1 skip=518800
count=12401 >/dev/null 2>&1
 $ md5sum dvb-fe-xc5000-1.6.114.fw dvb-fe-xc5000-test.fw
 b1ac8f759020523ebaaeff3fdf4789ed  dvb-fe-xc5000-1.6.114.fw
 b1ac8f759020523ebaaeff3fdf4789ed  dvb-fe-xc5000-test.fw

The Elgato_EyeTV_Hybrid.inf file contains a comment with "TerraTec H5",
which components are assembled on that USB stick?


The TerraTec H5 has a TDA18271 tuner.




Regards,
Gilles



So most likely the Elgato EyeTV hybrid is one of these combinations. And
it should quite feasible to add support for someone who knows the Empia
EM2884.


That device could be supported just making proper board profile to 
em28xx driver. Rather trivial stuff to one who has any experience. Just 
one hour work or so.


regards
Antti

--
http://palosaari.fi/
--
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


Re: Mygica T230 DVB-T/T2/C Ubuntu 14.04 (kernel 3.13.0-45) using media_build

2015-02-22 Thread Antti Palosaari

Mauro,
could you fix your media controller stuff ASAP as I think almost all DVB 
devices are currently broken. I have got multiple bug reports


On 02/22/2015 03:17 PM, Gert-Jan van der Stroom wrote:

Can someone help me to get a Mygica T230 DVB-T/T2/C working on Ubuntu 14.04
(kernel 3.13.0-45) using media_build.
I succeed doing a build of the media_build, the drivers also load when I
attach the Mygica, but when I try to use it (tvheadend) it crashes:

[   61.592114] dvb-usb: found a 'Mygica T230 DVB-T/T2/C' in warm state.
[   61.828138] dvb-usb: will pass the complete MPEG2 transport stream to the
software demuxer.
[   61.828279] DVB: registering new adapter (Mygica T230 DVB-T/T2/C)
[   61.847369] i2c i2c-7: Added multiplexed i2c bus 8
[   61.847372] si2168 7-0064: Silicon Labs Si2168 successfully attached
[   61.857024] si2157 8-0060: Silicon Labs Si2147/2148/2157/2158
successfully attached
[   61.857034] usb 1-5: DVB: registering adapter 0 frontend 0 (Silicon Labs
Si2168)...
[   61.857488] input: IR-receiver inside an USB DVB receiver as
/devices/pci:00/:00:1a.7/usb1/1-5/input/input11
[   61.857541] dvb-usb: schedule remote query interval to 100 msecs.
[   61.857709] dvb-usb: Mygica T230 DVB-T/T2/C successfully initialized and
connected.
[   61.857773] usbcore: registered new interface driver dvb_usb_cxusb

Tvheadend start:
[  314.356162] BUG: unable to handle kernel NULL pointer dereference at
0010
[  314.356202] IP: []
media_entity_pipeline_start+0x1c/0x390 [media]



 problem is that I think



[  314.356236] PGD 76c6c067 PUD 766b0067 PMD 0
[  314.356260] Oops:  [#1] SMP
[  314.356279] Modules linked in: si2157(OX) si2168(OX) i2c_mux
dvb_usb_cxusb(OX) dib0070(OX) dvb_usb(OX) dvb_core(OX) rc_core(OX) media(OX)
snd_hda_codec_analog gpio_ich hp_wmi sparse_keymap coretemp kvm_intel kvm
serio_raw snd_hda_intel i915 lpc_ich snd_hda_codec shpchp drm_kms_helper
snd_hwdep snd_pcm snd_page_alloc snd_timer pl2303 video wmi tpm_infineon drm
mac_hid mei_me snd soundcore i2c_algo_bit usbserial mei lp parport psmouse
e1000e floppy ptp pps_core pata_acpi
[  314.356541] CPU: 1 PID: 1053 Comm: kdvb-ad-0-fe-0 Tainted: GW  OX
3.13.0-45-generic #74-Ubuntu

What is wrong, or do I miss something ?
I also added the firmware described at:
http://www.linuxtv.org/wiki/index.php/Geniatech_T230


regards
Antti

--
http://palosaari.fi/
--
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


Re: Mygica T230 DVB-T/T2/C Ubuntu 14.04 (kernel 3.13.0-45) using media_build

2015-02-22 Thread Mauro Carvalho Chehab
Em Sun, 22 Feb 2015 23:35:52 +0200
Antti Palosaari  escreveu:

> Mauro,
> could you fix your media controller stuff ASAP as I think almost all DVB 
> devices are currently broken. I have got multiple bug reports

That looks weird... I think the patch adding media controller support
for the dvb-usb was not merged yet.

> 
> On 02/22/2015 03:17 PM, Gert-Jan van der Stroom wrote:
> > Can someone help me to get a Mygica T230 DVB-T/T2/C working on Ubuntu 14.04
> > (kernel 3.13.0-45) using media_build.
> > I succeed doing a build of the media_build, the drivers also load when I
> > attach the Mygica, but when I try to use it (tvheadend) it crashes:
> >
> > [   61.592114] dvb-usb: found a 'Mygica T230 DVB-T/T2/C' in warm state.
> > [   61.828138] dvb-usb: will pass the complete MPEG2 transport stream to the
> > software demuxer.
> > [   61.828279] DVB: registering new adapter (Mygica T230 DVB-T/T2/C)
> > [   61.847369] i2c i2c-7: Added multiplexed i2c bus 8
> > [   61.847372] si2168 7-0064: Silicon Labs Si2168 successfully attached
> > [   61.857024] si2157 8-0060: Silicon Labs Si2147/2148/2157/2158
> > successfully attached
> > [   61.857034] usb 1-5: DVB: registering adapter 0 frontend 0 (Silicon Labs
> > Si2168)...
> > [   61.857488] input: IR-receiver inside an USB DVB receiver as
> > /devices/pci:00/:00:1a.7/usb1/1-5/input/input11
> > [   61.857541] dvb-usb: schedule remote query interval to 100 msecs.
> > [   61.857709] dvb-usb: Mygica T230 DVB-T/T2/C successfully initialized and
> > connected.
> > [   61.857773] usbcore: registered new interface driver dvb_usb_cxusb
> >
> > Tvheadend start:
> > [  314.356162] BUG: unable to handle kernel NULL pointer dereference at
> > 0010
> > [  314.356202] IP: []
> > media_entity_pipeline_start+0x1c/0x390 [media]
> 
> 
>  problem is that I think
> 
> 
> > [  314.356236] PGD 76c6c067 PUD 766b0067 PMD 0
> > [  314.356260] Oops:  [#1] SMP
> > [  314.356279] Modules linked in: si2157(OX) si2168(OX) i2c_mux
> > dvb_usb_cxusb(OX) dib0070(OX) dvb_usb(OX) dvb_core(OX) rc_core(OX) media(OX)
> > snd_hda_codec_analog gpio_ich hp_wmi sparse_keymap coretemp kvm_intel kvm
> > serio_raw snd_hda_intel i915 lpc_ich snd_hda_codec shpchp drm_kms_helper
> > snd_hwdep snd_pcm snd_page_alloc snd_timer pl2303 video wmi tpm_infineon drm
> > mac_hid mei_me snd soundcore i2c_algo_bit usbserial mei lp parport psmouse
> > e1000e floppy ptp pps_core pata_acpi
> > [  314.356541] CPU: 1 PID: 1053 Comm: kdvb-ad-0-fe-0 Tainted: GW  OX
> > 3.13.0-45-generic #74-Ubuntu

Gert-Jan,

Could you please post the stack dump? It would help to know what's calling
media_entity_pipeline_start.

Regards,
Mauro

> >
> > What is wrong, or do I miss something ?
> > I also added the firmware described at:
> > http://www.linuxtv.org/wiki/index.php/Geniatech_T230
> 
> regards
> Antti
> 
--
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


Re: Mygica T230 DVB-T/T2/C Ubuntu 14.04 (kernel 3.13.0-45) using media_build

2015-02-22 Thread Antti Palosaari

On 02/22/2015 11:55 PM, Mauro Carvalho Chehab wrote:

Em Sun, 22 Feb 2015 23:35:52 +0200
Antti Palosaari  escreveu:


Mauro,
could you fix your media controller stuff ASAP as I think almost all DVB
devices are currently broken. I have got multiple bug reports


That looks weird... I think the patch adding media controller support
for the dvb-usb was not merged yet.


hmm, OK. But I have got at least one such report for rtl28xxu driver on 
my mail and there is another report on my blog, which is likely same, 
though there was no log, only report saying it crash when latest media 
build used.




On 02/22/2015 03:17 PM, Gert-Jan van der Stroom wrote:

Can someone help me to get a Mygica T230 DVB-T/T2/C working on Ubuntu 14.04
(kernel 3.13.0-45) using media_build.
I succeed doing a build of the media_build, the drivers also load when I
attach the Mygica, but when I try to use it (tvheadend) it crashes:

[   61.592114] dvb-usb: found a 'Mygica T230 DVB-T/T2/C' in warm state.
[   61.828138] dvb-usb: will pass the complete MPEG2 transport stream to the
software demuxer.
[   61.828279] DVB: registering new adapter (Mygica T230 DVB-T/T2/C)
[   61.847369] i2c i2c-7: Added multiplexed i2c bus 8
[   61.847372] si2168 7-0064: Silicon Labs Si2168 successfully attached
[   61.857024] si2157 8-0060: Silicon Labs Si2147/2148/2157/2158
successfully attached
[   61.857034] usb 1-5: DVB: registering adapter 0 frontend 0 (Silicon Labs
Si2168)...
[   61.857488] input: IR-receiver inside an USB DVB receiver as
/devices/pci:00/:00:1a.7/usb1/1-5/input/input11
[   61.857541] dvb-usb: schedule remote query interval to 100 msecs.
[   61.857709] dvb-usb: Mygica T230 DVB-T/T2/C successfully initialized and
connected.
[   61.857773] usbcore: registered new interface driver dvb_usb_cxusb

Tvheadend start:
[  314.356162] BUG: unable to handle kernel NULL pointer dereference at
0010
[  314.356202] IP: []
media_entity_pipeline_start+0x1c/0x390 [media]



 problem is that I think



[  314.356236] PGD 76c6c067 PUD 766b0067 PMD 0
[  314.356260] Oops:  [#1] SMP
[  314.356279] Modules linked in: si2157(OX) si2168(OX) i2c_mux
dvb_usb_cxusb(OX) dib0070(OX) dvb_usb(OX) dvb_core(OX) rc_core(OX) media(OX)
snd_hda_codec_analog gpio_ich hp_wmi sparse_keymap coretemp kvm_intel kvm
serio_raw snd_hda_intel i915 lpc_ich snd_hda_codec shpchp drm_kms_helper
snd_hwdep snd_pcm snd_page_alloc snd_timer pl2303 video wmi tpm_infineon drm
mac_hid mei_me snd soundcore i2c_algo_bit usbserial mei lp parport psmouse
e1000e floppy ptp pps_core pata_acpi
[  314.356541] CPU: 1 PID: 1053 Comm: kdvb-ad-0-fe-0 Tainted: GW  OX
3.13.0-45-generic #74-Ubuntu


Gert-Jan,

Could you please post the stack dump? It would help to know what's calling
media_entity_pipeline_start.

Regards,
Mauro



What is wrong, or do I miss something ?
I also added the firmware described at:
http://www.linuxtv.org/wiki/index.php/Geniatech_T230


regards
Antti



--
http://palosaari.fi/
--
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


cron job: media_tree daily build: WARNINGS

2015-02-22 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:   Mon Feb 23 04:00:17 CET 2015
git branch: test
git hash:   135f9be9194cf7778eb73594aa55791b229cf27c
gcc version:i686-linux-gcc (GCC) 4.9.1
sparse version: v0.5.0-41-g6c2d743
smatch version: 0.4.1-3153-g7d56ab3
host hardware:  x86_64
host os:3.18.0-5.slh.1-amd64

linux-git-arm-at91: OK
linux-git-arm-davinci: WARNINGS
linux-git-arm-exynos: OK
linux-git-arm-mx: OK
linux-git-arm-omap: OK
linux-git-arm-omap1: OK
linux-git-arm-pxa: OK
linux-git-blackfin: OK
linux-git-i686: OK
linux-git-m32r: OK
linux-git-mips: WARNINGS
linux-git-powerpc64: OK
linux-git-sh: OK
linux-git-x86_64: OK
linux-2.6.32.27-i686: OK
linux-2.6.33.7-i686: OK
linux-2.6.34.7-i686: OK
linux-2.6.35.9-i686: OK
linux-2.6.36.4-i686: OK
linux-2.6.37.6-i686: OK
linux-2.6.38.8-i686: OK
linux-2.6.39.4-i686: OK
linux-3.0.60-i686: OK
linux-3.1.10-i686: OK
linux-3.2.37-i686: OK
linux-3.3.8-i686: OK
linux-3.4.27-i686: OK
linux-3.5.7-i686: OK
linux-3.6.11-i686: OK
linux-3.7.4-i686: OK
linux-3.8-i686: WARNINGS
linux-3.9.2-i686: WARNINGS
linux-3.10.1-i686: OK
linux-3.11.1-i686: OK
linux-3.12.23-i686: OK
linux-3.13.11-i686: OK
linux-3.14.9-i686: OK
linux-3.15.2-i686: OK
linux-3.16.7-i686: OK
linux-3.17.8-i686: OK
linux-3.18.7-i686: OK
linux-3.19-i686: OK
linux-2.6.32.27-x86_64: OK
linux-2.6.33.7-x86_64: OK
linux-2.6.34.7-x86_64: OK
linux-2.6.35.9-x86_64: OK
linux-2.6.36.4-x86_64: OK
linux-2.6.37.6-x86_64: OK
linux-2.6.38.8-x86_64: OK
linux-2.6.39.4-x86_64: OK
linux-3.0.60-x86_64: OK
linux-3.1.10-x86_64: OK
linux-3.2.37-x86_64: OK
linux-3.3.8-x86_64: OK
linux-3.4.27-x86_64: OK
linux-3.5.7-x86_64: OK
linux-3.6.11-x86_64: OK
linux-3.7.4-x86_64: OK
linux-3.8-x86_64: WARNINGS
linux-3.9.2-x86_64: WARNINGS
linux-3.10.1-x86_64: OK
linux-3.11.1-x86_64: OK
linux-3.12.23-x86_64: OK
linux-3.13.11-x86_64: OK
linux-3.14.9-x86_64: OK
linux-3.15.2-x86_64: OK
linux-3.16.7-x86_64: OK
linux-3.17.8-x86_64: OK
linux-3.18.7-x86_64: OK
linux-3.19-x86_64: OK
apps: OK
spec-git: OK
sparse: WARNINGS
smatch: ERRORS

Detailed results are available here:

http://www.xs4all.nl/~hverkuil/logs/Monday.log

Full logs are available here:

http://www.xs4all.nl/~hverkuil/logs/Monday.tar.bz2

The Media Infrastructure API from this daily build is here:

http://www.xs4all.nl/~hverkuil/spec/media.html
--
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