[PATCH] media: staging/intel-ipu3: Implement lock for stream on/off operations

2019-01-29 Thread Rajmohan Mani
stream on / off operations and the modification of streaming flag (in struct imgu_device), to prevent these issues. Reported-by: Laurent Pinchart Suggested-by: Laurent Pinchart Signed-off-by: Rajmohan Mani --- drivers/staging/media/ipu3/ipu3-v4l2.c | 6 ++ drivers/staging/media/ipu3/ipu3

[PATCH] media: intel-ipu3: cio2: Remove redundant definitions

2018-10-09 Thread Rajmohan Mani
Removed redundant CIO2_IMAGE_MAX_* definitions Fixes: c2a6a07afe4a ("media: intel-ipu3: cio2: add new MIPI-CSI2 driver") Signed-off-by: Rajmohan Mani --- drivers/media/pci/intel/ipu3/ipu3-cio2.h | 2 -- 1 file changed, 2 deletions(-) diff --git a/drivers/media/pci/intel/ipu3/ipu3

[PATCH] media: dw9714: Fix error handling in probe function

2018-10-05 Thread Rajmohan Mani
Fixed the case where v4l2_async_unregister_subdev() is called unnecessarily in the error handling path in probe function. Signed-off-by: Rajmohan Mani --- drivers/media/i2c/dw9714.c | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/drivers/media/i2c/dw9714.c b/drivers/media

[PATCH] media: dw9714: Update to SPDX license identifier

2018-02-20 Thread Rajmohan Mani
Remove the GPL v2 license boilerplate and update with the SPDX license identifier. Signed-off-by: Rajmohan Mani --- drivers/media/i2c/dw9714.c | 14 ++ 1 file changed, 2 insertions(+), 12 deletions(-) diff --git a/drivers/media/i2c/dw9714.c b/drivers/media/i2c/dw9714.c index

[PATCH v1] media: ov13858: Calculate pixel-rate at runtime, use mode

2017-09-05 Thread Rajmohan Mani
From: Chiranjeevi Rapolu Instead of calculating pixle-rate at two different places, calculate at run time at a single place. Instead of using hardcoded pixels-per-line, extract it from current sensor mode. Signed-off-by: Chiranjeevi Rapolu --- drivers/media/i2c/ov13858.c | 42

[PATCH] [media] dw9714: Set the v4l2 focus ctrl step as 1

2017-08-30 Thread Rajmohan Mani
Current v4l2 focus ctrl step value of 16, limits the minimum granularity of focus positions to 16. Setting this value as 1, enables more accurate focus positions. Signed-off-by: Rajmohan Mani --- drivers/media/i2c/dw9714.c | 7 ++- 1 file changed, 6 insertions(+), 1 deletion(-) diff --git

[PATCH v8] dw9714: Initial driver for dw9714 VCM

2017-06-03 Thread Rajmohan Mani
DW9714 is a 10 bit DAC, designed for linear control of voice coil motor. This driver creates a V4L2 subdevice and provides control to set the desired focus. Signed-off-by: Rajmohan Mani --- Changes in v8: - Set the PM runtime status as "active" before calling pm_runt

[PATCH v7] dw9714: Initial driver for dw9714 VCM

2017-06-01 Thread Rajmohan Mani
DW9714 is a 10 bit DAC, designed for linear control of voice coil motor. This driver creates a V4L2 subdevice and provides control to set the desired focus. Signed-off-by: Rajmohan Mani --- Changes in v7: - Removed DW9714 ACPI hwid from ACPI match table, until the correct ACPI

[PATCH v6] dw9714: Initial driver for dw9714 VCM

2017-05-26 Thread Rajmohan Mani
DW9714 is a 10 bit DAC, designed for linear control of voice coil motor. This driver creates a V4L2 subdevice and provides control to set the desired focus. Signed-off-by: Rajmohan Mani --- Changes in v6: - Addressed review comments from Sakari on v5 patch Changes in v5

[PATCH v5] dw9714: Initial driver for dw9714 VCM

2017-05-25 Thread Rajmohan Mani
DW9714 is a 10 bit DAC, designed for linear control of voice coil motor. This driver creates a V4L2 subdevice and provides control to set the desired focus. Signed-off-by: Rajmohan Mani --- Changes in v5: - Addressed review comments from Tomasz, Sakari and Sylwester on v4 of

[PATCH] dw9714: Initial driver for dw9714 VCM

2017-05-25 Thread Rajmohan Mani
DW9714 is a 10 bit DAC, designed for linear control of voice coil motor. This driver creates a V4L2 subdevice and provides control to set the desired focus. Signed-off-by: Rajmohan Mani --- drivers/media/i2c/Kconfig | 9 ++ drivers/media/i2c/Makefile | 1 + drivers/media/i2c/dw9714.c

[PATCH v4] dw9714: Initial driver for dw9714 VCM

2017-05-10 Thread Rajmohan Mani
DW9714 is a 10 bit DAC, designed for linear control of voice coil motor. This driver creates a V4L2 subdevice and provides control to set the desired focus. Signed-off-by: Rajmohan Mani --- Changes in v4: - Addressed review comments from Tomasz Changes in v3: - Addressed most of

[PATCH v3] dw9714: Initial driver for dw9714 VCM

2017-05-09 Thread Rajmohan Mani
DW9714 is a 10 bit DAC, designed for linear control of voice coil motor. This driver creates a V4L2 subdevice and provides control to set the desired focus. Signed-off-by: Rajmohan Mani --- Changes in v3: - Addressed most of the review comments from Sakari on v1 of this patch

[PATCH v2] dw9714: Initial driver for dw9714 VCM

2017-05-08 Thread Rajmohan Mani
DW9714 is a 10 bit DAC, designed for linear control of voice coil motor. This driver creates a V4L2 subdevice and provides control to set the desired focus. Signed-off-by: Rajmohan Mani --- Changes in v2: - Addressed review comments from Hans Verkuil - Fixed a debug message typo

[PATCH] dw9714: Initial driver for dw9714 VCM

2017-05-07 Thread rajmohan . mani
From: Rajmohan Mani DW9714 is a 10 bit DAC, designed for linear control of voice coil motor. This driver creates a V4L2 subdevice and provides control to set the desired focus. Signed-off-by: Rajmohan Mani --- drivers/media/i2c/Kconfig | 9 ++ drivers/media/i2c/Makefile | 1 + drivers