Em Fri, 29 Mar 2024 17:00:28 +
Easwar Hariharan escreveu:
> I2C v7, SMBus 3.2, and I3C specifications have replaced "master/slave"
> with more appropriate terms. Inspired by and following on to Wolfram's
> series to fix drivers/i2c/[1], fix the terminology for users of
> I2C_ALGOBIT
Em Fri, 29 Mar 2024 17:00:28 +
Easwar Hariharan escreveu:
> I2C v7, SMBus 3.2, and I3C specifications have replaced "master/slave"
> with more appropriate terms. Inspired by and following on to Wolfram's
> series to fix drivers/i2c/[1], fix the terminology for users of
> I2C_ALGOBIT
Em Fri, 29 Mar 2024 17:00:28 +
Easwar Hariharan escreveu:
> I2C v7, SMBus 3.2, and I3C specifications have replaced "master/slave"
> with more appropriate terms. Inspired by and following on to Wolfram's
> series to fix drivers/i2c/[1], fix the terminology for users of
> I2C_ALGOBIT
transmitting station from Austria.
Link:
https://lore.kernel.org/linux-media/75149976-693b-444e-b4cc-dd2dd86ea...@public-files.de
Signed-off-by: Mauro Carvalho Chehab
dvb-t/at-All | 64
1 file changed, 64 insertions(+)
---
http
Signed-off-by: Sakari Ailus
Signed-off-by: Mauro Carvalho Chehab
drivers/media/pci/intel/ipu6/ipu6-buttress.c | 7 -
drivers/media/pci/intel/ipu6/ipu6.c | 41 +---
2 files changed, 7 insertions(+), 41 deletions(-)
---
diff --git a/drivers/media/pci/intel
nds/stb0899_drv.c:1280:8-15: WARNING: Unsigned
expression compared with zero: chip_id > 0
Link:
https://lore.kernel.org/linux-media/20240429-fix-cocci-v3-2-3c4865f5a...@chromium.org
Reviewed-by: Bryan O'Donoghue
Signed-off-by: Ricardo Ribalda
Signed-off-by: Mauro Carvalho Chehab
drivers
:
https://lore.kernel.org/linux-media/20240429-fix-cocci-v3-1-3c4865f5a...@chromium.org
Reviewed-by: Martin Tůma
Reviewed-by: Bryan O'Donoghue
Signed-off-by: Ricardo Ribalda
Signed-off-by: Mauro Carvalho Chehab
drivers/media/pci/mgb4/mgb4_core.c | 4 ++--
drivers/media/pci/mgb4/mgb4_regs.c | 2
enter
Signed-off-by: Mauro Carvalho Chehab
drivers/staging/media/starfive/camss/stf-isp.c | 10 ++
1 file changed, 2 insertions(+), 8 deletions(-)
---
diff --git a/drivers/staging/media/starfive/camss/stf-isp.c
b/drivers/staging/media/starfive/camss/stf-isp.c
index d50616ef351e..4e6e26
/uvc_ctrl.c:839:22-23: WARNING opportunity for max()
Link:
https://lore.kernel.org/linux-media/20240429-fix-cocci-v3-4-3c4865f5a...@chromium.org
Reviewed-by: Sergey Senozhatsky
Reviewed-by: Kieran Bingham
Signed-off-by: Ricardo Ribalda
Signed-off-by: Mauro Carvalho Chehab
drivers/media/usb/uvc
-3c4865f5a...@chromium.org
Reviewed-by: Bryan O'Donoghue
Signed-off-by: Ricardo Ribalda
Signed-off-by: Mauro Carvalho Chehab
drivers/media/usb/go7007/go7007-fw.c | 4 ++--
1 file changed, 2 insertions(+), 2 deletions(-)
---
diff --git a/drivers/media/usb/go7007/go7007-fw.c
b/drivers/media/usb
Carvalho Chehab
drivers/staging/media/sunxi/sun6i-isp/sun6i_isp.c | 3 +--
1 file changed, 1 insertion(+), 2 deletions(-)
---
diff --git a/drivers/staging/media/sunxi/sun6i-isp/sun6i_isp.c
b/drivers/staging/media/sunxi/sun6i-isp/sun6i_isp.c
index 5c0a45394cba..58f8ae92320d 100644
--- a/drivers
/tegra20.c:324:44-45: WARNING opportunity for
swap()
Link:
https://lore.kernel.org/linux-media/20240429-fix-cocci-v3-10-3c4865f5a...@chromium.org
Signed-off-by: Ricardo Ribalda
Reviewed-by: Luca Ceresoli
Signed-off-by: Mauro Carvalho Chehab
drivers/staging/media/tegra-video/tegra20.c | 9
...@chromium.org
Signed-off-by: Ricardo Ribalda
Signed-off-by: Mauro Carvalho Chehab
drivers/media/platform/st/stm32/stm32-dcmipp/dcmipp-core.c | 7 ++-
1 file changed, 2 insertions(+), 5 deletions(-)
---
diff --git a/drivers/media/platform/st/stm32/stm32-dcmipp/dcmipp-core.c
b/drivers
() does a
64-by-32 division, please consider using div64_u64 instead.
Link:
https://lore.kernel.org/linux-media/20240429-fix-cocci-v3-8-3c4865f5a...@chromium.org
Signed-off-by: Ricardo Ribalda
Signed-off-by: Mauro Carvalho Chehab
drivers/media/dvb-frontends/tda18271c2dd.c | 4 ++--
1 file changed
/20240429-fix-cocci-v3-11-3c4865f5a...@chromium.org
Signed-off-by: Ricardo Ribalda
Signed-off-by: Mauro Carvalho Chehab
drivers/media/usb/s2255/s2255drv.c | 20 ++--
1 file changed, 10 insertions(+), 10 deletions(-)
---
diff --git a/drivers/media/usb/s2255/s2255drv.c
b/drivers
hen multiplied by pll_mfactor.
Create a new 64 bit variable to hold the calculations.
Link:
https://lore.kernel.org/linux-media/20240429-fix-cocci-v3-25-3c4865f5a...@chromium.org
Reported-by: Dan Carpenter
Signed-off-by: Ricardo Ribalda
Signed-off-by: Mauro Carvalho Chehab
drivers/media/
://lore.kernel.org/linux-media/20240429-fix-cocci-v3-12-3c4865f5a...@chromium.org
Signed-off-by: Ricardo Ribalda
Signed-off-by: Mauro Carvalho Chehab
drivers/media/platform/mediatek/mdp3/mtk-mdp3-cmdq.c | 10 +-
drivers/media/platform/mediatek/mdp3/mtk-mdp3-core.c | 6 +++---
drivers/media/platform
://lore.kernel.org/linux-media/20240429-fix-cocci-v3-13-3c4865f5a...@chromium.org
Reviewed-by: Bryan O'Donoghue
Signed-off-by: Ricardo Ribalda
Signed-off-by: Mauro Carvalho Chehab
drivers/media/common/saa7146/saa7146_hlp.c | 8
1 file changed, 4 insertions(+), 4 deletions(-)
---
diff
-27: WARNING
opportunity for min()
Link:
https://lore.kernel.org/linux-media/20240429-fix-cocci-v3-15-3c4865f5a...@chromium.org
Signed-off-by: Ricardo Ribalda
Signed-off-by: Mauro Carvalho Chehab
drivers/media/pci/netup_unidvb/netup_unidvb_i2c.c | 2 +-
1 file changed, 1 insertion(+), 1
://lore.kernel.org/linux-media/20240429-fix-cocci-v3-14-3c4865f5a...@chromium.org
Reviewed-by: Bryan O'Donoghue
Signed-off-by: Ricardo Ribalda
Signed-off-by: Mauro Carvalho Chehab
drivers/media/dvb-frontends/drx39xyj/drxj.c | 9 +++--
1 file changed, 3 insertions(+), 6 deletions(-)
---
diff --git
opportunity for min()
Link:
https://lore.kernel.org/linux-media/20240429-fix-cocci-v3-16-3c4865f5a...@chromium.org
Signed-off-by: Ricardo Ribalda
Signed-off-by: Mauro Carvalho Chehab
drivers/media/usb/au0828/au0828-video.c | 5 +
1 file changed, 1 insertion(+), 4 deletions(-)
---
diff
opportunity for min()
Link:
https://lore.kernel.org/linux-media/20240429-fix-cocci-v3-17-3c4865f5a...@chromium.org
Signed-off-by: Ricardo Ribalda
Signed-off-by: Mauro Carvalho Chehab
drivers/media/usb/b2c2/flexcop-usb.c | 5 +
1 file changed, 1 insertion(+), 4 deletions(-)
---
diff --git
-by: Mauro Carvalho Chehab
drivers/media/i2c/st-mipid02.c | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
---
diff --git a/drivers/media/i2c/st-mipid02.c b/drivers/media/i2c/st-mipid02.c
index f250640729ca..b947a55281f0 100644
--- a/drivers/media/i2c/st-mipid02.c
+++ b/drivers/media/i2c/st
/platform/nvidia/tegra-vde/h264.c:645:20-21: WARNING opportunity
for min()
Link:
https://lore.kernel.org/linux-media/20240429-fix-cocci-v3-20-3c4865f5a...@chromium.org
Signed-off-by: Ricardo Ribalda
Signed-off-by: Mauro Carvalho Chehab
drivers/media/platform/nvidia/tegra-vde/h264.c | 6
Signed-off-by: Ricardo Ribalda
Signed-off-by: Mauro Carvalho Chehab
drivers/media/usb/stk1160/stk1160-video.c | 10 ++
1 file changed, 2 insertions(+), 8 deletions(-)
---
diff --git a/drivers/media/usb/stk1160/stk1160-video.c
b/drivers/media/usb/stk1160/stk1160-video.c
index
opportunity for min()
Link:
https://lore.kernel.org/linux-media/20240429-fix-cocci-v3-18-3c4865f5a...@chromium.org
Signed-off-by: Ricardo Ribalda
Signed-off-by: Mauro Carvalho Chehab
drivers/media/usb/gspca/cpia1.c | 6 ++
1 file changed, 2 insertions(+), 4 deletions(-)
---
diff --git
/tc358746.c:847:2-8: WARNING: do_div() does a 64-by-32
division, please consider using div64_ul instead.
Link:
https://lore.kernel.org/linux-media/20240429-fix-cocci-v3-22-3c4865f5a...@chromium.org
Signed-off-by: Ricardo Ribalda
Signed-off-by: Mauro Carvalho Chehab
drivers/media/i2c/tc358746.c
Em Fri, 3 May 2024 10:47:19 +0900
Mark Brown escreveu:
> On Thu, May 02, 2024 at 10:26:43AM +0100, Mauro Carvalho Chehab wrote:
> > Mauro Carvalho Chehab escreveu:
>
> > > There are still time control associated with it, as audio and video
> > > nee
pointer deference. This is similar to CVE-2022-3113.
Link:
https://lore.kernel.org/linux-media/ph7pr20mb5925094dae3fd750c7e39e01bf...@ph7pr20mb5925.namprd20.prod.outlook.com
Signed-off-by: Fullway Wang
Signed-off-by: Mauro Carvalho Chehab
drivers/media/platform/mediatek/vcodec/common
/afe8b93ffdfef5d8879e1894b9d7dda40dee2b8d
Signed-off-by: Nathan Chancellor
Reviewed-by: Miguel Ojeda
Tested-by: Miguel Ojeda
Signed-off-by: Mauro Carvalho Chehab
drivers/media/dvb-frontends/mxl5xx.c | 22 +++---
1 file changed, 11 insertions(+), 11 deletions(-)
---
diff --git
.prod.outlook.com/
Fixes: ca684386e6e2 ("[media] cec: add HDMI CEC framework (api)")
Signed-off-by: Mauro Carvalho Chehab
drivers/media/cec/core/cec-adap.c | 6 +-
drivers/media/cec/core/cec-api.c | 2 +-
include/media/cec.h | 1 +
3 files changed, 7 insertions(+), 2
yed work")
Signed-off-by: Mauro Carvalho Chehab
drivers/media/cec/core/cec-adap.c | 3 +--
1 file changed, 1 insertion(+), 2 deletions(-)
---
diff --git a/drivers/media/cec/core/cec-adap.c
b/drivers/media/cec/core/cec-adap.c
index 559a172ebc6c..6fc7de744ee9 100644
--- a/drivers/media/cec/co
ABORTED.
Signed-off-by: Hans Verkuil
Reported-by: Yang, Chenyuan
Closes:
https://lore.kernel.org/linux-media/ph7pr11mb57688e64ade4fe82e658d86da0...@ph7pr11mb5768.namprd11.prod.outlook.com/
Fixes: 590a8e564c6e ("media: cec: abort if the current transmit was canceled")
Signed-off-by: Mauro Ca
st can get corrupted.
Signed-off-by: Hans Verkuil
Reported-by: Yang, Chenyuan
Closes:
https://lore.kernel.org/linux-media/ph7pr11mb57688e64ade4fe82e658d86da0...@ph7pr11mb5768.namprd11.prod.outlook.com/
Fixes: ca684386e6e2 ("[media] cec: add HDMI CEC framework (api)")
Signed-off-by: Mauro
://lore.kernel.org/linux-media/20231116154816.70959-2-andrze...@collabora.com
Signed-off-by: Andrzej Pietrasiewicz
Reviewed-by: Chen-Yu Tsai
Signed-off-by: Mauro Carvalho Chehab
drivers/media/platform/verisilicon/hantro_h1_regs.h | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
---
diff
/lore.kernel.org/r/ZQ/WS8HC1A3F0Qn8@rli9-mobl
Link:
https://lore.kernel.org/linux-media/20230927040438.5589-1-rdun...@infradead.org
Signed-off-by: Randy Dunlap
Signed-off-by: Mauro Carvalho Chehab
drivers/media/platform/sunxi/sun8i-a83t-mipi-csi2/Kconfig | 1 +
1 file changed, 1 insertion(
://lore.kernel.org/linux-media/20231116154816.70959-3-andrze...@collabora.com
Signed-off-by: Andrzej Pietrasiewicz
Reviewed-by: Chen-Yu Tsai
Signed-off-by: Mauro Carvalho Chehab
drivers/media/platform/verisilicon/hantro_h1_regs.h | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
---
diff
RBS) {} block
coding style. Specifically fix the weird declaration of variables split
over multiple lines.
While at it also split the multi-line width calculation at a more
logical place.
Reported-by: Andy Shevchenko
Signed-off-by: Hans de Goede
Signed-off-by: Mauro Carvalho Chehab
drivers/stag
/ Cherry Trail devices with flash and if those will
ever get supported then this should be done through the new standard
include/linux/led-class-flash.h APIs instead of with atomisp specific
custom APIs.
Reviewed-by: Andy Shevchenko
Signed-off-by: Hans de Goede
Signed-off-by: Mauro Carvalho Chehab
Link:
https://lore.kernel.org/r/20240326190903.1422069-1-andriy.shevche...@linux.intel.com
Signed-off-by: Andy Shevchenko
Signed-off-by: Hans de Goede
Signed-off-by: Mauro Carvalho Chehab
drivers/staging/media/atomisp/pci/bits.h | 4 +--
drivers/staging/media/atomisp/pci/defs.h
Mauro Carvalho Chehab
drivers/staging/media/atomisp/pci/sh_css_mipi.c | 2 +-
drivers/staging/media/atomisp/pci/system_global.h | 12
2 files changed, 1 insertion(+), 13 deletions(-)
---
diff --git a/drivers/staging/media/atomisp/pci/sh_css_mipi.c
b/drivers/staging/media/atomi
csi2_video_ops struct.
While at it also remove the empty csi2_core_ops struct.
Reviewed-by: Andy Shevchenko
Signed-off-by: Hans de Goede
Signed-off-by: Mauro Carvalho Chehab
drivers/staging/media/atomisp/pci/atomisp_csi2.c | 23 ---
1 file changed, 23 deletions(-)
---
diff
before calling
the set_fmt() callback, so this workaround is no longer necessary.
Reviewed-by: Andy Shevchenko
Signed-off-by: Hans de Goede
Signed-off-by: Mauro Carvalho Chehab
drivers/staging/media/atomisp/i2c/atomisp-ov2722.c | 12
drivers/staging/media/atomisp/i2c/ov2722.h
de Goede
Signed-off-by: Mauro Carvalho Chehab
drivers/staging/media/atomisp/Makefile | 1 -
.../media/atomisp/include/linux/atomisp_platform.h | 1 -
drivers/staging/media/atomisp/pci/atomisp_cmd.c| 37 +++--
.../media/atomisp/pci/atomisp_compat_css20.c | 31
Reviewed-by: Andy Shevchenko
Signed-off-by: Hans de Goede
Signed-off-by: Mauro Carvalho Chehab
drivers/staging/media/atomisp/pci/atomisp_cmd.c | 34 +++
drivers/staging/media/atomisp/pci/atomisp_cmd.h | 3 ++
drivers/staging/media/atomisp/pci/atomisp_ioctl.c | 6 +++-
driver
-by: Hans de Goede
Signed-off-by: Mauro Carvalho Chehab
drivers/staging/media/atomisp/pci/atomisp_csi2.c | 3 +++
1 file changed, 3 insertions(+)
---
diff --git a/drivers/staging/media/atomisp/pci/atomisp_csi2.c
b/drivers/staging/media/atomisp/pci/atomisp_csi2.c
index 89118438a3b6..e939a09a279b
lm3554 driver could still be usable as a reference
for how to use / driver the lm3554 for a future re-implementation
using standardized APIs, but for that it can be retrieved from
the git history.
Reviewed-by: Andy Shevchenko
Signed-off-by: Hans de Goede
Signed-off-by: Mauro Carvalho Chehab
-by: Laurent Pinchart
Signed-off-by: Sakari Ailus
Signed-off-by: Mauro Carvalho Chehab
drivers/media/i2c/ov4689.c | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
---
diff --git a/drivers/media/i2c/ov4689.c b/drivers/media/i2c/ov4689.c
index c4d4afd38906..f826571f8f68 100644
--- a/drivers/media/i2c
ned-off-by: Mauro Carvalho Chehab
drivers/staging/media/atomisp/pci/atomisp_cmd.c | 7 +++
drivers/staging/media/atomisp/pci/atomisp_internal.h | 1 +
drivers/staging/media/atomisp/pci/atomisp_subdev.c | 17 +++--
drivers/staging/media/atomisp/pci/atomisp_v4l2.c | 1 +
Carvalho Chehab
drivers/media/i2c/ov4689.c | 205 ++---
1 file changed, 119 insertions(+), 86 deletions(-)
---
diff --git a/drivers/media/i2c/ov4689.c b/drivers/media/i2c/ov4689.c
index 403091651885..9890189bcbd5 100644
--- a/drivers/media/i2c/ov4689.c
-by: Mauro Carvalho Chehab
.../media/atomisp/include/linux/atomisp_platform.h | 6 +---
.../media/atomisp/pci/atomisp_gmin_platform.c | 36 ++
.../staging/media/atomisp/pci/atomisp_internal.h | 1 -
drivers/staging/media/atomisp/pci/atomisp_v4l2.c | 16 ++
4
s busy or not
Reviewed-by: Andy Shevchenko
Signed-off-by: Hans de Goede
Signed-off-by: Mauro Carvalho Chehab
drivers/staging/media/atomisp/pci/atomisp_ioctl.c | 18 ++
1 file changed, 6 insertions(+), 12 deletions(-)
---
diff --git a/drivers/staging/media/atomisp/pci/atomisp_ioctl.c
b/d
support the comment talks about has long
been dropped from the driver.
Reviewed-by: Andy Shevchenko
Signed-off-by: Hans de Goede
Signed-off-by: Mauro Carvalho Chehab
drivers/staging/media/atomisp/pci/atomisp_fops.c | 21 -
1 file changed, 21 deletions(-)
---
diff --git
nko
Signed-off-by: Hans de Goede
Signed-off-by: Mauro Carvalho Chehab
drivers/staging/media/atomisp/include/linux/atomisp.h | 15 ---
drivers/staging/media/atomisp/pci/atomisp_cmd.c | 1 -
drivers/staging/media/atomisp/pci/atomisp_ioctl.c | 12 ++--
drivers/staging/me
ink() pad-op is taken before calling the op, while in other
scenarios the graph_mutex is taken after the isp->mutex.
Reviewed-by: Andy Shevchenko
Signed-off-by: Hans de Goede
Signed-off-by: Mauro Carvalho Chehab
drivers/staging/media/atomisp/pci/atomisp_subdev.c | 8 +---
1 file chan
e.g. a s_input ioctl
atomisp_s_sensor_power() will skip calling the s_power() v4l2-subdev-op
a second time.
Reviewed-by: Andy Shevchenko
Signed-off-by: Hans de Goede
Signed-off-by: Mauro Carvalho Chehab
drivers/staging/media/atomisp/pci/atomisp_cmd.c | 11 +++
1 file changed, 11 insertions(+)
---
to
access its 'dev' member. This commit removes the 'client' field and
directly stores a pointer to the 'struct device'.
Signed-off-by: Mikhail Rudenko
Reviewed-by: Laurent Pinchart
Signed-off-by: Sakari Ailus
Signed-off-by: Mauro Carvalho Chehab
drivers/media/i2c/ov4689.c | 36
care of handling the special
-ENOIOCTLCMD return for subdevs which don't implement s_power().
Reviewed-by: Andy Shevchenko
Signed-off-by: Hans de Goede
Signed-off-by: Mauro Carvalho Chehab
drivers/staging/media/atomisp/pci/atomisp_cmd.c | 17 +
drivers/staging/media/atomisp
of
i2c_find_device_by_fwnode(). Replace it with a corresponding call.
Link:
https://lore.kernel.org/r/20240326202813.1425431-3-andriy.shevche...@linux.intel.com
Signed-off-by: Andy Shevchenko
Signed-off-by: Hans de Goede
Signed-off-by: Mauro Carvalho Chehab
drivers/staging/media/atomisp/pci
() to mark
all involved subdevs as busy so that the links cannot be changed through
the media-controller APIs while streaming.
Reviewed-by: Andy Shevchenko
Signed-off-by: Hans de Goede
Signed-off-by: Mauro Carvalho Chehab
drivers/staging/media/atomisp/pci/atomisp_ioctl.c | 15
paths with spin_unlock_irqrestore() in there.
While at it also remove the non helpful dev_dbg() message.
Reviewed-by: Andy Shevchenko
Signed-off-by: Hans de Goede
Signed-off-by: Mauro Carvalho Chehab
drivers/staging/media/atomisp/pci/atomisp_cmd.c | 11 ---
1 file changed, 4 insertions
://lore.kernel.org/r/20240402204447.294280-1-andriy.shevche...@linux.intel.com
Signed-off-by: Andy Shevchenko
Signed-off-by: Hans de Goede
Signed-off-by: Mauro Carvalho Chehab
.../staging/media/atomisp/pci/atomisp_internal.h | 3 +-
drivers/staging/media/atomisp/pci/atomisp_v4l2.c | 40
7473c97dd8d0 ("media: atomisp: Remove custom VCM handling")
remove the left-over dead VCM handling from the gmin platform code.
Reviewed-by: Andy Shevchenko
Signed-off-by: Hans de Goede
Signed-off-by: Mauro Carvalho Chehab
.../atomisp/include/linux/atomisp_gmin_platform.h | 3 --
.../med
on driver-specific functions. Also, set analogue
gain in a single 16-bit write instead of two 8-bit writes.
[Sakari Ailus: Initialise sensor_gain as 0.]
Signed-off-by: Mikhail Rudenko
Reviewed-by: Laurent Pinchart
Signed-off-by: Sakari Ailus
Signed-off-by: Mauro Carvalho Chehab
drivers/media/i2c
it.
Reviewed-by: Andy Shevchenko
Signed-off-by: Hans de Goede
Signed-off-by: Mauro Carvalho Chehab
drivers/staging/media/atomisp/i2c/atomisp-gc2235.c | 2 +-
.../staging/media/atomisp/i2c/atomisp-mt9m114.c| 2 +-
drivers/staging/media/atomisp/i2c/atomisp-ov2722.c | 2 +-
.../atomisp/include
.
Signed-off-by: Mikhail Rudenko
Reviewed-by: Laurent Pinchart
Signed-off-by: Sakari Ailus
Signed-off-by: Mauro Carvalho Chehab
drivers/media/i2c/ov4689.c | 10 +-
1 file changed, 5 insertions(+), 5 deletions(-)
---
diff --git a/drivers/media/i2c/ov4689.c b/drivers/media/i2c/ov4689.c
ned to userspace and
userspace should not rely on / use the priv fields. Drop setting this.
Reviewed-by: Andy Shevchenko
Signed-off-by: Hans de Goede
Signed-off-by: Mauro Carvalho Chehab
drivers/staging/media/atomisp/pci/atomisp_cmd.c | 2 --
1 file changed, 2 deletions(-)
---
diff --git a/driv
Shevchenko
Signed-off-by: Hans de Goede
Signed-off-by: Mauro Carvalho Chehab
drivers/staging/media/atomisp/pci/atomisp_subdev.c | 14 +-
1 file changed, 1 insertion(+), 13 deletions(-)
---
diff --git a/drivers/staging/media/atomisp/pci/atomisp_subdev.c
b/drivers/staging/media/atomisp
.
Drop the reference to it. We do not expect device to disappear
as it should be taken care by the OpRegion drivers.
Link:
https://lore.kernel.org/r/20240326202813.1425431-2-andriy.shevche...@linux.intel.com
Signed-off-by: Andy Shevchenko
Signed-off-by: Hans de Goede
Signed-off-by: Mauro Carvalho
make atomisp_link_setup() turn the sensor back off when
a link gets disabled.
Reviewed-by: Andy Shevchenko
Signed-off-by: Hans de Goede
Signed-off-by: Mauro Carvalho Chehab
drivers/staging/media/atomisp/pci/atomisp_cmd.c| 19 +++
drivers/staging/media/atomisp/pci
:
* Removes spurious whitespace after the opening parentheses as per code
style guidelines
Link: https://lore.kernel.org/r/20240227163043.112162-2-bergh.jonat...@gmail.com
Signed-off-by: Jonathan Bergh
Signed-off-by: Hans de Goede
Signed-off-by: Mauro Carvalho Chehab
drivers/staging/media/atomisp
instead of -1. This fixes the following libcamera warning:
Zero sequence expected for first frame (got 4294967295)
Signed-off-by: Hans de Goede
Signed-off-by: Mauro Carvalho Chehab
drivers/staging/media/atomisp/pci/atomisp_ioctl.c | 6 +++---
1 file changed, 3 insertions(+), 3 deletions
with V4L2_PIX_FMT_RGBX32.
Signed-off-by: Hans de Goede
Signed-off-by: Mauro Carvalho Chehab
drivers/staging/media/atomisp/pci/atomisp_cmd.c | 4 ++--
drivers/staging/media/atomisp/pci/atomisp_ioctl.c | 2 +-
2 files changed, 3 insertions(+), 3 deletions(-)
---
diff --git a/drivers/staging
-by: Mauro Carvalho Chehab
drivers/staging/media/atomisp/pci/atomisp_gmin_platform.c | 7 +++
drivers/staging/media/atomisp/pci/atomisp_subdev.c| 7 ---
2 files changed, 7 insertions(+), 7 deletions(-)
---
diff --git a/drivers/staging/media/atomisp/pci/atomisp_gmin_platform.c
b
-by: Hans de Goede
Signed-off-by: Mauro Carvalho Chehab
drivers/staging/media/atomisp/pci/sh_css_sp.c | 6 --
1 file changed, 4 insertions(+), 2 deletions(-)
---
diff --git a/drivers/staging/media/atomisp/pci/sh_css_sp.c
b/drivers/staging/media/atomisp/pci/sh_css_sp.c
index 05b9c9ea0a21
-by: Hans de Goede
Signed-off-by: Mauro Carvalho Chehab
drivers/staging/media/atomisp/pci/sh_css_sp.c | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
---
diff --git a/drivers/staging/media/atomisp/pci/sh_css_sp.c
b/drivers/staging/media/atomisp/pci/sh_css_sp.c
index e0e1405dfc69..05b9c9e
.
Selecting V4L2_PIX_FMT_RGBX32 output shows vertical columns with random
data. For each 128 pixels in a row the last 28 (32?) or so pixels contain
random data.
Signed-off-by: Hans de Goede
Signed-off-by: Mauro Carvalho Chehab
drivers/staging/media/atomisp/pci/atomisp_ioctl.c | 17 +++--
1
-by: Jonathan Bergh
Signed-off-by: Hans de Goede
Signed-off-by: Mauro Carvalho Chehab
drivers/staging/media/atomisp/pci/sh_css_sp.c | 88 +++
1 file changed, 49 insertions(+), 39 deletions(-)
---
diff --git a/drivers/staging/media/atomisp/pci/sh_css_sp.c
b/drivers/staging
Signed-off-by: Mauro Carvalho Chehab
drivers/staging/media/atomisp/pci/atomisp_ioctl.c | 6 --
1 file changed, 6 deletions(-)
---
diff --git a/drivers/staging/media/atomisp/pci/atomisp_ioctl.c
b/drivers/staging/media/atomisp/pci/atomisp_ioctl.c
index fa6c9f0ea6eb..6009b7779f13 100644
---
:
* Removes an unnecessary 'return' statement from a void function
implementation
Link: https://lore.kernel.org/r/20240226194023.69070-6-bergh.jonat...@gmail.com
Signed-off-by: Jonathan Bergh
Signed-off-by: Hans de Goede
Signed-off-by: Mauro Carvalho Chehab
drivers/staging/media/atomisp/pci
than Bergh
Signed-off-by: Hans de Goede
Signed-off-by: Mauro Carvalho Chehab
drivers/staging/media/atomisp/pci/atomisp_cmd.c | 15 ---
1 file changed, 8 insertions(+), 7 deletions(-)
---
diff --git a/drivers/staging/media/atomisp/pci/atomisp_cmd.c
b/drivers/staging/media/a
things:
* Tidies up code in several places where braces were used in conjunction
with single line conditional statements
Link: https://lore.kernel.org/r/20240226194023.69070-2-bergh.jonat...@gmail.com
Signed-off-by: Jonathan Bergh
Signed-off-by: Hans de Goede
Signed-off-by: Mauro Carvalho
:
* Removes additional, unnecessary parentheses from a conditional "if"
statement
Link: https://lore.kernel.org/r/20240226194023.69070-5-bergh.jonat...@gmail.com
Signed-off-by: Jonathan Bergh
Signed-off-by: Hans de Goede
Signed-off-by: Mauro Carvalho Chehab
drivers/staging/med
:
* Reformats a number of multiline block comments to ensure * and */ align
correctly
Link: https://lore.kernel.org/r/20240227163043.112162-1-bergh.jonat...@gmail.com
Signed-off-by: Jonathan Bergh
Signed-off-by: Hans de Goede
Signed-off-by: Mauro Carvalho Chehab
drivers/staging/media/atomisp
to the active state and s_stream.
Signed-off-by: Mikhail Rudenko
Reviewed-by: Laurent Pinchart
Signed-off-by: Sakari Ailus
Signed-off-by: Mauro Carvalho Chehab
drivers/media/i2c/ov4689.c | 75 +++---
1 file changed, 31 insertions(+), 44 deletions
. This adjustment eliminates repetition within the function.
Signed-off-by: Mikhail Rudenko
Reviewed-by: Kieran Bingham
Signed-off-by: Sakari Ailus
Signed-off-by: Mauro Carvalho Chehab
drivers/media/i2c/ov4689.c | 12 ++--
1 file changed, 6 insertions(+), 6 deletions(-)
---
diff --git a/drivers
remove it.
Signed-off-by: Mikhail Rudenko
Reviewed-by: Laurent Pinchart
Signed-off-by: Sakari Ailus
Signed-off-by: Mauro Carvalho Chehab
drivers/media/i2c/ov4689.c | 2 --
1 file changed, 2 deletions(-)
---
diff --git a/drivers/media/i2c/ov4689.c b/drivers/media/i2c/ov4689.c
index
Signed-off-by: Sakari Ailus
Signed-off-by: Mauro Carvalho Chehab
drivers/media/i2c/ov4689.c | 24 ++--
1 file changed, 22 insertions(+), 2 deletions(-)
---
diff --git a/drivers/media/i2c/ov4689.c b/drivers/media/i2c/ov4689.c
index 7792f6a5a059..02274ad34c30 100644
-device is
registered, enable runtime PM before doing so.
Signed-off-by: Mikhail Rudenko
Reviewed-by: Laurent Pinchart
Signed-off-by: Sakari Ailus
Signed-off-by: Mauro Carvalho Chehab
drivers/media/i2c/ov4689.c | 14 --
1 file changed, 8 insertions(+), 6 deletions(-)
---
diff --git
control in the driver. Default digital gain value is not
modified by this patch.
Signed-off-by: Mikhail Rudenko
Reviewed-by: Laurent Pinchart
Signed-off-by: Sakari Ailus
Signed-off-by: Mauro Carvalho Chehab
drivers/media/i2c/ov4689.c | 16 ++--
1 file changed, 14 insertions(+), 2
-reconfigure-restart cycles.
Signed-off-by: Mikhail Rudenko
Reviewed-by: Laurent Pinchart
Signed-off-by: Sakari Ailus
Signed-off-by: Mauro Carvalho Chehab
drivers/media/i2c/ov4689.c | 15 +++
1 file changed, 11 insertions(+), 4 deletions(-)
---
diff --git a/drivers/media/i2c/ov4689.c
.
Signed-off-by: Mikhail Rudenko
Reviewed-by: Laurent Pinchart
Signed-off-by: Sakari Ailus
Signed-off-by: Mauro Carvalho Chehab
drivers/media/i2c/ov4689.c | 31 ---
1 file changed, 20 insertions(+), 11 deletions(-)
---
diff --git a/drivers/media/i2c/ov4689.c b
to the
ov4689_mode structure, since they are mode independent. Make them
defines instead.
Signed-off-by: Mikhail Rudenko
Reviewed-by: Kieran Bingham
Signed-off-by: Sakari Ailus
Signed-off-by: Mauro Carvalho Chehab
drivers/media/i2c/ov4689.c | 29 +
1 file changed, 13
of
hardcoding them in the register table. This prepares the driver for
implementation of configurable analogue crop and binning. No
functional change intended.
Signed-off-by: Mikhail Rudenko
Reviewed-by: Laurent Pinchart
Signed-off-by: Sakari Ailus
Signed-off-by: Mauro Carvalho Chehab
drivers
).
Implement appropriate controls in the driver. Default gain values
are not modified.
Signed-off-by: Mikhail Rudenko
Reviewed-by: Laurent Pinchart
Signed-off-by: Sakari Ailus
Signed-off-by: Mauro Carvalho Chehab
drivers/media/i2c/ov4689.c | 23 ++-
1 file changed, 22
as an
argument to the function. v4l2_device_register_subdev() becomes a macro
passing THIS_MODULE to the __v4l2_device_register_subdev() function.
Signed-off-by: Sakari Ailus
Signed-off-by: Mauro Carvalho Chehab
drivers/media/v4l2-core/v4l2-async.c | 2 +-
drivers/media/v4l2-core/v4l2-device.c
intended.
Signed-off-by: Umang Jain
Signed-off-by: Sakari Ailus
Signed-off-by: Mauro Carvalho Chehab
drivers/media/i2c/imx219.c | 77 +-
1 file changed, 35 insertions(+), 42 deletions(-)
---
diff --git a/drivers/media/i2c/imx219.c b/drivers/media
() a macro and obtaining THIS_MODULE that way.
Signed-off-by: Sakari Ailus
Signed-off-by: Mauro Carvalho Chehab
drivers/media/v4l2-core/v4l2-async.c | 8 ++--
include/media/v4l2-async.h | 4 +++-
2 files changed, 9 insertions(+), 3 deletions(-)
---
diff --git a/drivers/media
after tuning to a new frequency to make the
lock output pin go high when a signal is found. This pin is normally
connected to an indicator led.
Link:
https://lore.kernel.org/linux-media/20220116112238.74171-1-mi...@freedict.org
Signed-off-by: Michael Bunk
Signed-off-by: Mauro Carvalho Chehab
. Print the function name instead.
Signed-off-by: Fei Shao
Reviewed-by: AngeloGioacchino Del Regno
Signed-off-by: Andrzej Pietrasiewicz
Signed-off-by: Sebastian Fricke
Signed-off-by: Mauro Carvalho Chehab
drivers/media/platform/mediatek/vcodec/common/mtk_vcodec_util.c | 4 ++--
1 file changed
1 - 100 of 59002 matches
Mail list logo