On register r/w macros/procedures of drivers/media/pci

2015-04-19 Thread Andrey Utkin
I am starting a work on driver for techwell tw5864 media grabber&encoder. I am basing on tw68 driver (mentorship, advising and testing by board owners are appreciated). And here (and in some other drivers/media/pci/ drivers) I see what confuses me: tw68-core.c: dev->lmmio = ioremap(pci_res

Re: On register r/w macros/procedures of drivers/media/pci

2015-04-19 Thread Hans Verkuil
On 04/19/2015 09:36 AM, Andrey Utkin wrote: > I am starting a work on driver for techwell tw5864 media grabber&encoder. > I am basing on tw68 driver (mentorship, advising and testing by board > owners are appreciated). And here (and in some other > drivers/media/pci/ drivers) I see what confuses me

Re: On register r/w macros/procedures of drivers/media/pci

2015-04-19 Thread Andrey Utkin
On Sun, Apr 19, 2015 at 11:28 AM, Hans Verkuil wrote: > Check the types of llmio and bbmio: > > u32 __iomem *lmmio; > u8 __iomem *bmmio; > > So the values of the pointers are the same, but the types are not. > > So 'lmmio + 1' == 'bmmio + si

Re: [PATCH v5 04/10] DT: Add documentation for the Skyworks AAT1290

2015-04-19 Thread Sakari Ailus
On Wed, Apr 15, 2015 at 08:48:34AM +0200, Jacek Anaszewski wrote: > This patch adds device tree binding documentation for > 1.5A Step-Up Current Regulator for Flash LEDs. > > Signed-off-by: Jacek Anaszewski > Acked-by: Kyungmin Park > Cc: Bryan Wu > Cc: Richard Purdie > Cc: devicet...@vger.ker

Re: [PATCH 1/2] clk: change clk_ops' ->round_rate() prototype

2015-04-19 Thread Heiko Stübner
Hi Boris, Am Freitag, 17. April 2015, 09:29:28 schrieb Boris Brezillon: > Clock rates are stored in an unsigned long field, but ->round_rate() > (which returns a rounded rate from a requested one) returns a long > value (errors are reported using negative error codes), which can lead > to long ove

Re: [PATCH 1/2] clk: change clk_ops' ->round_rate() prototype

2015-04-19 Thread Boris Brezillon
Hi Heiko, On Sun, 19 Apr 2015 14:13:04 +0200 Heiko Stübner wrote: > Hi Boris, > > Am Freitag, 17. April 2015, 09:29:28 schrieb Boris Brezillon: > > Clock rates are stored in an unsigned long field, but ->round_rate() > > (which returns a rounded rate from a requested one) returns a long > > val

[PATCH 1/2] gspca: sn9c2028: Add support for Genius Videocam Live v2

2015-04-19 Thread Vasily Khoruzhick
Signed-off-by: Vasily Khoruzhick --- drivers/media/usb/gspca/sn9c2028.c | 120 - 1 file changed, 119 insertions(+), 1 deletion(-) diff --git a/drivers/media/usb/gspca/sn9c2028.c b/drivers/media/usb/gspca/sn9c2028.c index 39b6b2e..317b02c 100644 --- a/drivers/

[PATCH 2/2] gspca: sn9c2028: Add gain and autogain controls Genius Videocam Live v2

2015-04-19 Thread Vasily Khoruzhick
Autogain algorithm is very simple, if average luminance is low - increase gain, if it's high - decrease gain. Gain granularity is low enough for this algo to stabilize quickly. Signed-off-by: Vasily Khoruzhick --- drivers/media/usb/gspca/sn9c2028.c | 121 + dr

Re: [PATCH 2/2] gspca: sn9c2028: Add gain and autogain controls Genius Videocam Live v2

2015-04-19 Thread Theodore Kilgore
On Sun, 19 Apr 2015, Vasily Khoruzhick wrote: Autogain algorithm is very simple, if average luminance is low - increase gain, if it's high - decrease gain. Gain granularity is low enough for this algo to stabilize quickly. Signed-off-by: Vasily Khoruzhick --- drivers/media/usb/gspca/sn9c2028

Re: [PATCH] Add support for TechniSat Skystar S2

2015-04-19 Thread Patrick Boettcher
Hi, On Fri, 17 Apr 2015 11:06:30 +0200 Patrick Boettcher wrote: > http://git.linuxtv.org/cgit.cgi/pb/media_tree.git/ cx24120-v2 Jannis pointed out, that my repository on linuxtv.org was not fetchable... I put one onto github, this should work: https://github.com/pboettch/linux.git cx24120-v2

cron job: media_tree daily build: ERRORS

2015-04-19 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 Apr 20 04:00:15 CEST 2015 git branch: test git hash: e183201b9e917daf2530b637b2f34f1d5afb934d gcc versi

Re: [PATCH] Add support for TechniSat Skystar S2

2015-04-19 Thread Patrick Boettcher
Hi Jemma, On Fri, 17 Apr 2015 12:47:50 +0100 Jemma Denson wrote: > > To prepare an integration into 4.2 (or at least 4.3) I suggest > > using my media_tree on linuxtv.org . > > > > http://git.linuxtv.org/cgit.cgi/pb/media_tree.git/ cx24120-v2 > > > > I added a checkpatch-patch on top of it. If y