The call to nvt_get_rx_ir_data and nvt_process_rx_ir_data from
the ISR is protected with spinlock nvt->lock. Therefore it's
guaranteed that nvt->pkts is 0 when entering nvt_get_rx_ir_data
(as nvt->pkts is set to 0 at the end of nvt_process_rx_ir_data).
Having said that we can remove b_idx.
Signed-
On 8/1/2016 17:47, Hans Verkuil wrote:
Hi Songjun,
Some more comments below. Except for one in the open/release functions
it's all small things.
On 07/29/2016 09:54 AM, Songjun Wu wrote:
Add driver for the Image Sensor Controller. It manages
incoming data from a parallel based CMOS/CCD senso
On Thu, 2016-07-28 at 10:55 -0500, Rob Herring wrote:
> On Tue, Jul 26, 2016 at 8:44 PM, Minghsiu Tsai
> wrote:
> > On Tue, 2016-07-26 at 13:54 -0500, Rob Herring wrote:
> >> On Fri, Jul 22, 2016 at 04:33:01PM +0800, Minghsiu Tsai wrote:
> >> > Add a DT binding documentation of MDP for the MT8173
ir_raw_event_handle is called anyway after the hw fifo content stored
in nvt->buf[] has been written to the kfifo. There is not really a
benefit in the potential additional call to ir_raw_event_handle
whilst nvt->buf[] is being processed.
Getting rid of this additional call allows to simplify the c
I think we can get rid of the spinlock protecting the kthread from being
interrupted by a wakeup in certain parts.
Even with the current implementation of the kthread the only lost wakeup
scenario could happen if the wakeup occurs between the kfifo_len check
and setting the state to TASK_INTERRUPTI
Simplify the code a little.
Signed-off-by: Heiner Kallweit
---
drivers/media/rc/nuvoton-cir.c | 8 +++-
1 file changed, 3 insertions(+), 5 deletions(-)
diff --git a/drivers/media/rc/nuvoton-cir.c b/drivers/media/rc/nuvoton-cir.c
index fc462f6..04fedaa 100644
--- a/drivers/media/rc/nuvoton-c
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: Tue Aug 2 04:00:23 CEST 2016
git branch: test
git hash: 292eaf50c7df4ae2ae8aaa9e1ce3f1240a353ee8
gcc versi
Hello Antti,
since I see that nobody fixed my patch, here is fixed version which
works for me and is made against latest git version
diff -urN media_build.old/linux/drivers/media/dvb-core/dvb-usb-ids.h
media_build/linux/drivers/media/dvb-core/dvb-usb-ids.h
--- media_build.old/linux/drivers/media/
Hello Antti,
where/how can I remove the key mapping? I am not familiar with this source.
Thank you for help
Regards
Michal
2015-08-31 20:35 GMT+02:00 Antti Palosaari :
> On 08/31/2015 09:04 PM, CIJOML CIJOMLovic wrote:
>>
>> Hello guys,
>>
>> please find out down this email patch to support EV
On 2016-08-01 11:31:11 +0300, Laurent Pinchart wrote:
> Hi Hans,
>
> Thank you for the patch.
>
> On Monday 01 Aug 2016 09:54:24 Hans Verkuil wrote:
> > From: Hans Verkuil
> >
> > This driver has been replaced by the non-soc-camera rcar-vin driver.
> > The soc-camera framework is being deprecat
2016-08-01 20:06 GMT+03:00 Viresh Kumar :
> On 01-08-16, 20:01, Matwey V. Kornilov wrote:
>> With this patch, there is no cpufreq directory here.
>>
>> Without this patch, the output is the following:
>>
>> nohostname:~ # uname -a
>> Linux nohostname 4.6.4-3.gecd9058-default #1 SMP PREEMPT Fri Jul
pwc module output with trace=511 is the following:
[ 24.793109] usbcore: registered new interface driver Philips webcam
[ 29.276979] pwc: Unsupported pixel format
[ 29.277055] pwc: pwc_vidioc_fill_fmt() width=640, height=480,
bytesperline=640, sizeimage=460800, pixelformat=YU12
[ 29.277090
On 08/01/2016 06:52 PM, Niklas Söderlund wrote:
> Hi Sergei,
>
> Thanks for testing!
>
> On 2016-07-30 00:04:33 +0300, Sergei Shtylyov wrote:
>> On 07/29/2016 08:40 PM, Niklas Söderlund wrote:
>>
>>> The driver forced whatever field was set by the source subdevice to be
>>> used. This patch all
On Mon, 1 Aug 2016 08:19:14 -0300
Mauro Carvalho Chehab wrote:
> My general impression is that it is now a way easier to maintain the
> media documentation and make it more consistent than with DocBook.
Music to my ears - maybe this whole thing was worth it :)
Seriously, though, this whole thi
On 01-08-16, 20:01, Matwey V. Kornilov wrote:
> With this patch, there is no cpufreq directory here.
>
> Without this patch, the output is the following:
>
> nohostname:~ # uname -a
> Linux nohostname 4.6.4-3.gecd9058-default #1 SMP PREEMPT Fri Jul 15
> 08:08:50 UTC 2016 (ecd9058) armv7l armv7l a
> That's a good question. On one extreme an application trying to allocate 32
> 50MB buffers would seem suspicious to me, but on the other hand it would be
> difficult to answer the question in a way that can be translated into code.
8k video in the ARGB 8bit 4:4:4 colorspace, would need a 126MB p
2016-08-01 19:50 GMT+03:00 Viresh Kumar :
> On 31-07-16, 23:31, Matwey V. Kornilov wrote:
>> Hello,
>>
>> I've also just found that the same commit breaks cpufreq on BeagleBone Black
>> :)
>>
>> So, probably without HCD_BH flag musb works correctly only at 1Ghz CPU
>> frequency, which is unlisted
On Monday 01 Aug 2016 12:16:25 Steven Toth wrote:
> > That's a good question. On one extreme an application trying to allocate
> > 32 50MB buffers would seem suspicious to me, but on the other hand it
> > would be difficult to answer the question in a way that can be translated
> > into code.
>
>
On 31-07-16, 23:31, Matwey V. Kornilov wrote:
> Hello,
>
> I've also just found that the same commit breaks cpufreq on BeagleBone Black
> :)
>
> So, probably without HCD_BH flag musb works correctly only at 1Ghz CPU
> frequency, which is unlisted and being set to 720Mhz by cpufreq driver
> (as i
Hi Sergei,
On 2016-07-31 00:55:04 +0300, Sergei Shtylyov wrote:
> Hello.
>
> On 07/29/2016 08:40 PM, Niklas Söderlund wrote:
>
> > The HW can capture both ODD and EVEN fields in separate buffers so it's
> > possible to support this field mode.
> >
> > Signed-off-by: Niklas Söderlund
>It's
Hi Sergei,
Thanks for testing!
On 2016-07-30 00:04:33 +0300, Sergei Shtylyov wrote:
> On 07/29/2016 08:40 PM, Niklas Söderlund wrote:
>
> > The driver forced whatever field was set by the source subdevice to be
> > used. This patch allows the user to change from the default field.
> >
> > Signe
Hi Hans,
On Monday 01 Aug 2016 15:59:54 Hans Verkuil wrote:
> On 08/01/2016 03:49 PM, Laurent Pinchart wrote:
> > On Monday 01 Aug 2016 14:27:48 Hans Verkuil wrote:
> >> On 08/01/2016 02:17 PM, Laurent Pinchart wrote:
> >>> On Monday 01 Aug 2016 12:56:55 Hans Verkuil wrote:
> On 07/27/2016 02
Hi Hans,
On Monday 01 Aug 2016 14:27:48 Hans Verkuil wrote:
> On 08/01/2016 02:17 PM, Laurent Pinchart wrote:
> > On Monday 01 Aug 2016 12:56:55 Hans Verkuil wrote:
> >> On 07/27/2016 02:57 PM, Laurent Pinchart wrote:
> >>> On Wednesday 27 Jul 2016 16:51:47 Kazunori Kobayashi wrote:
> Hi,
> >
On 08/01/2016 03:49 PM, Laurent Pinchart wrote:
> Hi Hans,
>
> On Monday 01 Aug 2016 14:27:48 Hans Verkuil wrote:
>> On 08/01/2016 02:17 PM, Laurent Pinchart wrote:
>>> On Monday 01 Aug 2016 12:56:55 Hans Verkuil wrote:
On 07/27/2016 02:57 PM, Laurent Pinchart wrote:
> On Wednesday 27 J
On 07/15/2016 06:31 PM, Dmitry Torokhov wrote:
> Hi Hans,
>
> On Fri, Jul 15, 2016 at 01:27:21PM +0200, Hans Verkuil wrote:
>> For the upcoming 4.8 kernel I made a driver for the Pulse-Eight USB CEC
>> adapter.
>> This is a usb device that shows up as a ttyACM0 device. It requires that you
>>
Dear Mauro
Thanks for your replying.
I am checking your comments and linux/media codes.
I need to discuss with our members about our driver's structure.
Especially,
1. SPI
> There aren't many DVB drivers that aren't either PCI or USB.
> There's one at drivers/media/mmc/siano/smssdio.c, but I gue
On 08/01/2016 02:17 PM, Laurent Pinchart wrote:
> Hi Hans,
>
> On Monday 01 Aug 2016 12:56:55 Hans Verkuil wrote:
>> On 07/27/2016 02:57 PM, Laurent Pinchart wrote:
>>> On Wednesday 27 Jul 2016 16:51:47 Kazunori Kobayashi wrote:
Hi,
I have a question about memory freeing by callin
Hi Hans,
On Monday 01 Aug 2016 12:56:55 Hans Verkuil wrote:
> On 07/27/2016 02:57 PM, Laurent Pinchart wrote:
> > On Wednesday 27 Jul 2016 16:51:47 Kazunori Kobayashi wrote:
> >> Hi,
> >>
> >> I have a question about memory freeing by calling REQBUF(0) before all
> >> the dmabuf fds exported with
On Sat, Jul 30, 2016 at 03:19:27PM +0200, Ole Ernst wrote:
> This partly reverts commit 078600f514a12fd763ac84c86af68ef5b5267563.
>
> Due to the relocation of input_register_device() call, holding down a
> button on an IR remote no longer resulted in repeated key down events.
>
> Signed-off-by: O
Hi Hans,
On Mon, 2016-08-01 at 12:39 +0200, Hans Verkuil wrote:
> Hi Tiffany,
>
> On 08/01/2016 11:38 AM, Tiffany Lin wrote:
> > Hi Hans,
>
>
>
> >>> +static int vidioc_vdec_g_selection(struct file *file, void *priv,
> >>> + struct v4l2_selection *s)
> >>> +{
> >>> + struct mtk
Hi Jani,
Em Mon, 01 Aug 2016 12:57:32 +0300
Jani Nikula escreveu:
> On Wed, 27 Jul 2016, Mauro Carvalho Chehab wrote:
> > Now that all media documentation was converted to Sphinx, we
> > should get rid of the old DocBook one, as we don't want people
> > to submit patches against the old stuff.
There's one remaining major issue I noticed after the conversion of the
media books to Sphinx:
While sphinx complains if a cross-reference (using :ref:) points to an
undefined reference, the same doesn't happen if the reference uses
:c:func: and :c:type:.
In practice, it means that, if we do some
Add support fo the Hauppauge WinTV quadHD ATSC version.
IR support has not been provided, all 4 tuners, demodulators etc are working.
Further documentation can be found on Linux TV wiki.
Signed-Off-by: Stephen Backway
---
v2: Updated to use doc-rst
---
diff --git a/Documentation/media/v4l-dri
On 07/27/2016 02:57 PM, Laurent Pinchart wrote:
> Hello Kobayashi-san,
>
> (CC'ing Hans Verkuil and Marek Szyprowski)
>
> On Wednesday 27 Jul 2016 16:51:47 Kazunori Kobayashi wrote:
>> Hi,
>>
>> I have a question about memory freeing by calling REQBUF(0) before all the
>> dmabuf fds exported wi
Hi Tiffany,
On 08/01/2016 11:38 AM, Tiffany Lin wrote:
> Hi Hans,
>>> +static int vidioc_vdec_g_selection(struct file *file, void *priv,
>>> + struct v4l2_selection *s)
>>> +{
>>> + struct mtk_vcodec_ctx *ctx = fh_to_ctx(priv);
>>> +
>>> + if (V4L2_TYPE_IS_OUTPUT(s->type))
Checking the selection constraint flags is often forgotten by drivers,
especially
if the selection code just clamps the rectangle to the minimum and maximum
allowed
rectangles.
This patch adds a simple helper function that checks the adjusted rectangle
against
the constraint flags and either re
Fix typo where logical AND was used instead of bitwise AND.
Signed-off-by: Hans Verkuil
Reported-by: David Binderman
---
diff --git a/include/linux/cec-funcs.h b/include/linux/cec-funcs.h
index 82c3d3b..9e054aa 100644
--- a/include/linux/cec-funcs.h
+++ b/include/linux/cec-funcs.h
@@ -227,7 +227
Hello there,
include/linux/cec-funcs.h:1280:50: warning: logical ‘and’ applied to
non-boolean constant [-Wlogical-op]
Source code is
msg->msg[4] = ui_cmd->channel_identifier.major && 0xff;
Maybe better code
msg->msg[4] = ui_cmd->channel_identifier.major & 0xff;
Regards
David
On Wed, 27 Jul 2016, Mauro Carvalho Chehab wrote:
> Now that all media documentation was converted to Sphinx, we
> should get rid of the old DocBook one, as we don't want people
> to submit patches against the old stuff.
Mauro, judging from the discussions we've had over the past six months,
I ne
Hi Songjun,
Some more comments below. Except for one in the open/release functions
it's all small things.
On 07/29/2016 09:54 AM, Songjun Wu wrote:
> Add driver for the Image Sensor Controller. It manages
> incoming data from a parallel based CMOS/CCD sensor.
> It has an internal image processor,
Hi Hans,
On Fri, 2016-07-08 at 13:06 +0200, Hans Verkuil wrote:
> On 05/30/2016 02:29 PM, Tiffany Lin wrote:
> > Add v4l2 layer decoder driver for MT8173
> >
> > Signed-off-by: Tiffany Lin
> > ---
> > drivers/media/platform/mtk-vcodec/Makefile | 10 +-
> > drivers/media/platform/mtk-v
Hi Hans,
On Monday 01 Aug 2016 11:07:03 Hans Verkuil wrote:
> On 08/01/2016 11:01 AM, Laurent Pinchart wrote:
> > On Monday 01 Aug 2016 10:56:21 Hans Verkuil wrote:
> >> On 08/01/2016 10:34 AM, Laurent Pinchart wrote:
> >>> On Monday 01 Aug 2016 09:54:25 Hans Verkuil wrote:
> From: Hans Verku
On 08/01/2016 10:57 AM, Laurent Pinchart wrote:
> Hi Hans,
>
> Thank you for the patch.
>
> On Monday 01 Aug 2016 10:45:30 Hans Verkuil wrote:
>> Checking the selection constraint flags is often forgotten by drivers,
>> especially if the selection code just clamps the rectangle to the minimum
>
On 08/01/2016 11:01 AM, Laurent Pinchart wrote:
> Hi Hans,
>
> On Monday 01 Aug 2016 10:56:21 Hans Verkuil wrote:
>> On 08/01/2016 10:34 AM, Laurent Pinchart wrote:
>>> On Monday 01 Aug 2016 09:54:25 Hans Verkuil wrote:
From: Hans Verkuil
The sh_mobile_csi2 isn't used anymore (wa
Hi Hans,
On Monday 01 Aug 2016 10:56:21 Hans Verkuil wrote:
> On 08/01/2016 10:34 AM, Laurent Pinchart wrote:
> > On Monday 01 Aug 2016 09:54:25 Hans Verkuil wrote:
> >> From: Hans Verkuil
> >>
> >> The sh_mobile_csi2 isn't used anymore (was it ever?), so remove it.
> >> Especially since the soc
Hi Hans,
Thank you for the patch.
On Monday 01 Aug 2016 10:45:30 Hans Verkuil wrote:
> Checking the selection constraint flags is often forgotten by drivers,
> especially if the selection code just clamps the rectangle to the minimum
> and maximum allowed rectangles.
>
> This patch adds a simple
On 08/01/2016 10:34 AM, Laurent Pinchart wrote:
> Hi Hans,
>
> Thank you for the patch.
>
> On Monday 01 Aug 2016 09:54:25 Hans Verkuil wrote:
>> From: Hans Verkuil
>>
>> The sh_mobile_csi2 isn't used anymore (was it ever?), so remove it.
>> Especially since the soc-camera framework is being d
Checking the selection constraint flags is often forgotten by drivers,
especially
if the selection code just clamps the rectangle to the minimum and maximum
allowed
rectangles.
This patch adds a simple helper function that checks the adjusted rectangle
against
the constraint flags and either re
Hi Tiffany,
On 07/29/2016 11:50 AM, Tiffany Lin wrote:
> Signed-off-by: Tiffany Lin
> ---
> drivers/media/platform/mtk-vcodec/mtk_vcodec_enc.c | 83
> ++--
> 1 file changed, 78 insertions(+), 5 deletions(-)
>
> diff --git a/drivers/media/platform/mtk-vcodec/mtk_vcodec_enc.c
Hi Hans,
Thank you for the patch.
On Monday 01 Aug 2016 09:54:24 Hans Verkuil wrote:
> From: Hans Verkuil
>
> This driver has been replaced by the non-soc-camera rcar-vin driver.
> The soc-camera framework is being deprecated, so drop this older
> rcar-vin driver in favor of the newer version t
Hi Hans,
Thank you for the patch.
On Monday 01 Aug 2016 09:54:25 Hans Verkuil wrote:
> From: Hans Verkuil
>
> The sh_mobile_csi2 isn't used anymore (was it ever?), so remove it.
> Especially since the soc-camera framework is being deprecated.
>
> Signed-off-by: Hans Verkuil
> Cc: Laurent Pinc
Hi Robert,
On 07/31/2016 05:03 PM, Robert Jarzmik wrote:
> Hi Hans,
>
>
> Hans Verkuil writes:
>> On 04/02/2016 04:26 PM, Robert Jarzmik wrote:
>>> diff --git a/drivers/media/platform/soc_camera/pxa_camera.c
>>> b/drivers/media/platform/soc_camera/pxa_camera.c
>>> index b8dd878e98d6..30d266bba
From: Hans Verkuil
The functionality that was part of the tw686x-kh driver but not of the
mainlined tw686x driver has now been added to the tw686x driver as well.
So this driver no longer adds any functionality not available through
the mainlined driver and it can now be removed.
Signed-off-by:
From: Hans Verkuil
This driver has been replaced by the non-soc-camera rcar-vin driver.
The soc-camera framework is being deprecated, so drop this older
rcar-vin driver in favor of the newer version that does not rely on
this deprecated framework.
Signed-off-by: Hans Verkuil
Cc: Laurent Pinchar
From: Hans Verkuil
Remove these three obsolete drivers: the first two have replacement drivers
with the same functionality, the last driver is unused.
Regards,
Hans
Hans Verkuil (3):
tw686x-kh: remove obsolete driver
soc-camera/rcar-vin: remove obsolete driver
soc-camera/sh_mobil
From: Hans Verkuil
The sh_mobile_csi2 isn't used anymore (was it ever?), so remove it.
Especially since the soc-camera framework is being deprecated.
Signed-off-by: Hans Verkuil
Cc: Laurent Pinchart
Cc: Guennadi Liakhovetski
---
drivers/media/platform/soc_camera/Kconfig | 7 -
dri
56 matches
Mail list logo