Re: [RFC PATCH 4/4] alsa/soc: add hdmi audio codec based on cdf

2013-01-13 Thread Rahul Sharma
Thanks Sachin, On Mon, Jan 14, 2013 at 11:13 AM, Sachin Kamat wrote: > +CC: ALSA mailing list, Mark Brown > > On 13 January 2013 18:22, Rahul Sharma wrote: >> This patch registers hdmi-audio codec to the ALSA framework. This is the >> second >> client to the hdmi panel. Once notified by the CDF

Re: [RFC PATCH 4/4] alsa/soc: add hdmi audio codec based on cdf

2013-01-13 Thread Sachin Kamat
+CC: ALSA mailing list, Mark Brown On 13 January 2013 18:22, Rahul Sharma wrote: > This patch registers hdmi-audio codec to the ALSA framework. This is the > second > client to the hdmi panel. Once notified by the CDF Core it proceeds towards > audio setting and audio control. It also subscribes

Re: [PATCH RFC v1 2/2] V4L: Add driver for OV9650/52 image sensors

2013-01-13 Thread Sylwester Nawrocki
Hi Hans, Thank you for the review! On 01/07/2013 02:38 PM, Hans Verkuil wrote: + +/* V4L2 private controls */ + +/* Auto exposure frame reference area */ +#define V4L2_CID_EXPOSURE_REFERENCE_AREA (V4L2_CTRL_CLASS_CAMERA | 0x1001) +/* Maximum gain value */ +#define V4L2_CID_GAIN_CEILING

[media-ctl PATCH 2/3] Implement v4l2_subdev_enum_mbus_code()

2013-01-13 Thread Sakari Ailus
v4l2_subdev_enum_mbus_code() enumerates the media bus pixel codes on a pad of a given entity. The function returns a struct containing the array of enumerated pixel codes. Once the user no longer needs the array, its memory is released using free(3). The decision not to store the media bus pixel c

[media-ctl PATCH 3/3] Sort enumerated media bus codes

2013-01-13 Thread Sakari Ailus
Sort the enumeration result. This makes e.g. matching formats at both ends of the link much easier. Signed-off-by: Sakari Ailus --- src/v4l2subdev.c | 14 ++ 1 file changed, 14 insertions(+) diff --git a/src/v4l2subdev.c b/src/v4l2subdev.c index 946c030..d553216 100644 --- a/src/v

[media-ctl PATCH 1/3] Count users for entities

2013-01-13 Thread Sakari Ailus
The subdev nodes used to be closed immediately on v4l2_subdev_close(), now the subdev is only closed if there are no users left anymore. This changes the API from immediate effect (close) to a reference counting one. Also make functions opening subdevs to close them before returning. This resolves

[media-ctl PATCH 0/3] Reference counting to subdev file handles and media bus code enumeration

2013-01-13 Thread Sakari Ailus
Hi, This patchset adds reference counting to subdev file handles, which leaves it up to the user whether to keep the file handles open and thus the devices powered. Media bus code enumeration is added by the two latter patches of which the second one makes the result sorted by codes. Sakari Ailu

cron job: media_tree daily build: ERRORS

2013-01-13 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 Jan 13 19:00:15 CET 2013 git hash:3151d14aa6e983aa36d51a80d0477859f9ba12af gcc version: i686-linux-gcc (GCC

Re: af9035 test needed!

2013-01-13 Thread Jose Alberto Reguero
On Sábado, 12 de enero de 2013 22:14:07 Jose Alberto Reguero escribió: > On Sábado, 12 de enero de 2013 01:49:21 Antti Palosaari escribió: > > On 01/12/2013 01:45 AM, Jose Alberto Reguero wrote: > > > On Viernes, 11 de enero de 2013 20:38:01 Antti Palosaari escribió: > > >> Hello Jose and Gianluca

[media] tuners/xc5000: fix MODE_AIR in xc5000_set_params()

2013-01-13 Thread Dan Carpenter
There is a missing break so we use XC_RF_MODE_CABLE instead of XC_RF_MODE_AIR. Signed-off-by: Dan Carpenter --- Static checker stuff. Untested. diff --git a/drivers/media/tuners/xc5000.c b/drivers/media/tuners/xc5000.c index dc93cf3..d6be1b6 100644 --- a/drivers/media/tuners/xc5000.c +++ b/driv

Re: [BUG] Problem with LV5TDLX DVB-T USB and the 3.7.1 kernel

2013-01-13 Thread Antti Palosaari
On 01/07/2013 01:10 PM, Jacek Konieczny wrote: On Sat, 05 Jan 2013 16:28:04 +0200 Antti Palosaari wrote: Take USB sniffs, make scripts to generate e4000 register write code from the sniffs, copy & paste that code from the sniffs until it starts working. After it starts working it is quite easy

Re: [PATCH 1/3] em28xx: add missing IR RC slave address to the list of known i2c devices

2013-01-13 Thread Frank Schäfer
Am 13.01.2013 15:15, schrieb Frank Schäfer: > Signed-off-by: Frank Schäfer > --- > drivers/media/usb/em28xx/em28xx-i2c.c |1 + > 1 Datei geändert, 1 Zeile hinzugefügt(+) > > diff --git a/drivers/media/usb/em28xx/em28xx-i2c.c > b/drivers/media/usb/em28xx/em28xx-i2c.c > index 9ae8f60..8532c1d

[PATCH 0/7] em28xx-input: remove the dependency on module ir-kbd-i2c

2013-01-13 Thread Frank Schäfer
As it has been decided that i2-kbd-i2c isn't the way to go for i2c IR RC devices, remove the dependency on this module from the em28xx driver. We already use our own key polling functions with ir-kbd-i2c and the polling infrastructure is already on board, too (currently used for internal devices

[PATCH 7/7] em28xx: input: use common work_struct callback function for IR RC key polling

2013-01-13 Thread Frank Schäfer
Remove em28xx_i2c_ir_work() and check the device type in the common callback function em28xx_ir_work() instead. Simplifies em28xx_ir_start(). Reduces the code size with a minor performance drawback. Signed-off-by: Frank Schäfer --- drivers/media/usb/em28xx/em28xx-input.c | 18 +

[PATCH 5/7] em28xx: fix a comment and a small coding style issue

2013-01-13 Thread Frank Schäfer
Signed-off-by: Frank Schäfer --- drivers/media/usb/em28xx/em28xx-input.c |6 ++ 1 Datei geändert, 2 Zeilen hinzugefügt(+), 4 Zeilen entfernt(-) diff --git a/drivers/media/usb/em28xx/em28xx-input.c b/drivers/media/usb/em28xx/em28xx-input.c index e49d290..f4d0df8 100644 --- a/drivers/medi

[PATCH 6/7] em28xx: i2c RC devices: minor code size and memory usage optimization

2013-01-13 Thread Frank Schäfer
Set up the i2c_client locally in em28xx_i2c_ir_handle_key(). Signed-off-by: Frank Schäfer --- drivers/media/usb/em28xx/em28xx-input.c | 43 --- 1 Datei geändert, 16 Zeilen hinzugefügt(+), 27 Zeilen entfernt(-) diff --git a/drivers/media/usb/em28xx/em28xx-input.c b

[PATCH 3/7] em28xx: get rid of the dependency on module ir-kbd-i2c

2013-01-13 Thread Frank Schäfer
We already have the key polling functions and the polling infrastructure in em28xx-input, so we can easily get rid of the dependency on module ir-kbd-i2c. For maximum safety, do not touch the key reporting mechanism for those devices. Code size could be improved further but would have minor peforma

[PATCH 4/7] em28xx: remove unused parameter ir_raw from i2c RC key polling functions

2013-01-13 Thread Frank Schäfer
Signed-off-by: Frank Schäfer --- drivers/media/usb/em28xx/em28xx-input.c | 20 +++- 1 Datei geändert, 7 Zeilen hinzugefügt(+), 13 Zeilen entfernt(-) diff --git a/drivers/media/usb/em28xx/em28xx-input.c b/drivers/media/usb/em28xx/em28xx-input.c index a8f3636..e49d290 100644 ---

[PATCH 1/7] em28xx-input: remove dead code line from em28xx_get_key_em_haup()

2013-01-13 Thread Frank Schäfer
Field 'old' of struct IR_i2c is used nowhere in module ir-kbd-i2c. Signed-off-by: Frank Schäfer --- drivers/media/usb/em28xx/em28xx-input.c |2 -- 1 Datei geändert, 2 Zeilen entfernt(-) diff --git a/drivers/media/usb/em28xx/em28xx-input.c b/drivers/media/usb/em28xx/em28xx-input.c index 07f

[PATCH 2/7] em28xx: remove i2cdprintk() messages

2013-01-13 Thread Frank Schäfer
We don't report any key/scan codes or errors inside the key polling functions for internal IR RC devices, just in the key handling fucntions. Do the same for external devices. Signed-off-by: Frank Schäfer --- drivers/media/usb/em28xx/em28xx-input.c | 29 + 1 Datei g

[PATCH 1/3] em28xx: add missing IR RC slave address to the list of known i2c devices

2013-01-13 Thread Frank Schäfer
Signed-off-by: Frank Schäfer --- drivers/media/usb/em28xx/em28xx-i2c.c |1 + 1 Datei geändert, 1 Zeile hinzugefügt(+) diff --git a/drivers/media/usb/em28xx/em28xx-i2c.c b/drivers/media/usb/em28xx/em28xx-i2c.c index 9ae8f60..8532c1d 100644 --- a/drivers/media/usb/em28xx/em28xx-i2c.c +++ b/dr

[PATCH] hvr930c-drxk.fw new md5sum

2013-01-13 Thread Marc Sowen
Hi everybody, the md5sum of the Hauppauge zip file containing the hvr930c-drxk.fw file has changed. Here is a patch to fix this. Cheers, Marc --- diff -uprN linux-3.8-rc3/Documentation/dvb/get_dvb_firmware.orig linux-3.8-rc3/Documentation/dvb/get_dvb_firmware --- linux-3.8-rc3/Documentation/dvb

Re: [linux-media] Re: [PATCH RFCv9 1/4] dvb: Add DVBv5 stats properties for Quality of Service

2013-01-13 Thread Klaus Schmidinger
On 09.01.2013 12:02, Simon Farnsworth wrote: On Tuesday 8 January 2013 18:28:53 Devin Heitmueller wrote: On Tue, Jan 8, 2013 at 6:18 PM, Simon Farnsworth wrote: The wireless folk use dBm (reference point 1 milliwatt), as that's the reference point used in the 802.11 standard. Perhaps we need

[PATCH] em28xx: return -ENOTTY for VBI-format ioctls if the device doesn't support VBI

2013-01-13 Thread Frank Schäfer
Signed-off-by: Frank Schäfer --- drivers/media/usb/em28xx/em28xx-video.c |6 ++ 1 Datei geändert, 6 Zeilen hinzugefügt(+) diff --git a/drivers/media/usb/em28xx/em28xx-video.c b/drivers/media/usb/em28xx/em28xx-video.c index 4a7f73c..c43e4c5 100644 --- a/drivers/media/usb/em28xx/em28xx-vi

[PATCH] em28xx: return -ENOTTY for tuner + frequency ioctls if the device has no tuner

2013-01-13 Thread Frank Schäfer
Signed-off-by: Frank Schäfer --- drivers/media/usb/em28xx/em28xx-video.c |8 1 Datei geändert, 8 Zeilen hinzugefügt(+) diff --git a/drivers/media/usb/em28xx/em28xx-video.c b/drivers/media/usb/em28xx/em28xx-video.c index 2eabf2a..4a7f73c 100644 --- a/drivers/media/usb/em28xx/em28xx-

[RFC PATCH 4/4] alsa/soc: add hdmi audio codec based on cdf

2013-01-13 Thread Rahul Sharma
This patch registers hdmi-audio codec to the ALSA framework. This is the second client to the hdmi panel. Once notified by the CDF Core it proceeds towards audio setting and audio control. It also subscribes for hpd notification to implement hpd related audio requirements. Signed-off-by: Rahul Sha

[RFC PATCH 3/4] drm/exynos: moved drm hdmi driver to cdf framework

2013-01-13 Thread Rahul Sharma
This patch implements exynos_hdmi_cdf.c which is a glue component between exynos DRM and hdmi cdf panel. It is a platform driver register through exynos_drm_drv.c. Exynos_hdmi.c is modified to register hdmi as display panel. exynos_hdmi_cdf.c registers for exynos hdmi display entity and if successf

[RFC PATCH 1/4] video: display: add event handling, set mode and hdmi ops to cdf core

2013-01-13 Thread Rahul Sharma
This patch adds 1) Event Notification to CDF Core: Adds simple event notification mechanism supports multiple subscribers. This is used for hot-plug notification to the clients of hdmi display i.e. exynos-drm and alsa-codec. CDF Core maintains multiple subscriber lis

[RFC PATCH 2/4] drm/edid: temporarily exposing generic edid-read interface from drm

2013-01-13 Thread Rahul Sharma
It exposes generic interface from drm_edid.c to get the edid data and length by any display entity. Once I get clear idea about edid handling in CDF, I need to revert these temporary changes. Signed-off-by: Rahul Sharma --- drivers/gpu/drm/drm_edid.c | 88

[RFC PATCH 0/4] exynos-drm-hdmi driver to CDF complaint display driver

2013-01-13 Thread Rahul Sharma
This patch set is a proposal to change Exynos Drm Hdmi driver to a CDF complaint panel driver. This migration serves 2 purposes. One is to eliminate duplication due to v4l and drm hdmi drivers. Second is to add support for Hdmi audio ALSA codec which is not possible with drm/v4l hdmi driver (specia

Re: [PATCH/RFC 4/4] common: dma-mapping: Move dma_common_*() to

2013-01-13 Thread Geert Uytterhoeven
Hi Marek, On Wed, Jan 2, 2013 at 3:22 PM, Marek Szyprowski wrote: > On 12/28/2012 8:23 PM, Geert Uytterhoeven wrote: >> dma_common_mmap() and dma_common_get_sgtable() are defined in >> drivers/base/dma-mapping.c, and always compiled if CONFIG_HAS_DMA=y. >> >> However, their forward declarations a