Skip to contentSkip to conversation

Camera sensor driver patches + MC crash fix

GIT PULL Sakari Ailus 2 participants 2 messages Jun 23, 2020 Media (V4L/DVB)

lore
Share & tools
lore
#0 lore raw

Hi Mauro,

Here's a set of camera sensor patches for 5.9, including an omap3isp driver fix and last but not least, a fix for a memory allocation issue causing a crash in the media request API.

Please pull.

The following changes since commit b3a9e3b9622ae10064826dccb4f7a52bd88c7407:

Linux 5.8-rc1 (2020-06-14 12:45:04 -0700)

are available in the Git repository at:

git://linuxtv.org/sailus/media_tree.git tags/for-5.9-1-signed

for you to fetch changes up to d23e5ef40d006631fdfb92d6c8c56e7ed886f1d3:

media: media-request: Fix crash if memory allocation fails (2020-06-22 19:54:29 +0300)

----------------------------------------------------------------
Sensor driver patches for 5.9 + MC crash fix

----------------------------------------------------------------
Andrey Konovalov (4):
media: i2c: imx290: set the format before VIDIOC_SUBDEV_G_FMT is called
media: i2c: imx290: fix the order of the args in SET_RUNTIME_PM_OPS()
media: i2c: imx290: fix reset GPIO pin handling
media: i2c: imx290: set bus_type before calling v4l2_fwnode_endpoint_alloc_parse()

Bingbu Cao (1):
media: ov2740: make ov2740 driver only work with ACPI

Chuhong Yuan (2):
media: marvell-ccic: Add missed v4l2_async_notifier_cleanup()
media: omap3isp: Add missed v4l2_ctrl_handler_free() for preview_init_entities()

Dinghao Liu (1):
media: smiapp: Fix runtime PM imbalance on error

Manivannan Sadhasivam (6):
media: i2c: imx290: Add support for 2 data lanes
media: i2c: imx290: Add configurable link frequency and pixel rate
media: i2c: imx290: Add support for test pattern generation
media: i2c: imx290: Add RAW12 mode support
media: i2c: imx290: Add support to enumerate all frame sizes
media: i2c: imx290: Move the settle time delay out of loop

Qingwu Zhang (1):
media: ov2740: add NVMEM interface to read customized OTP data

Sakari Ailus (1):
smiapp: Use pm_runtime_get_if_active

Tuomas Tynkkynen (1):
media: media-request: Fix crash if memory allocation fails

 drivers/media/i2c/Kconfig                       |   1 +
 drivers/media/i2c/imx290.c                      | 404 ++++++++++++++++++++----
 drivers/media/i2c/ov2740.c                      | 149 ++++++++-
 drivers/media/i2c/smiapp/smiapp-core.c          |   5 +-
 drivers/media/mc/mc-request.c                   |  31 +-
 drivers/media/platform/marvell-ccic/mcam-core.c |   2 +
 drivers/media/platform/omap3isp/isppreview.c    |   4 +-
 7 files changed, 514 insertions(+), 82 deletions(-)
Signature · 3 lines
Kind regards,

Sakari Ailus
#1 lore raw

Re: [GIT PULL FOR 5.9] Camera sensor driver patches + MC crash fix (#64820)

From: [email protected]

Pull request: https://patchwork.linuxtv.org/patch/64820/
Build log: https://builder.linuxtv.org/job/patchwork/56637/
Build time: 00:12:02

gpg: Signature made Tue 23 Jun 2020 08:22:12 AM UTC
gpg:                using DSA key F0D0377A0D4F25A79238EFE56D40361B6E28C193
gpg:                issuer "[email protected]"
gpg: Good signature from "Sakari Ailus <[email protected]>" [full]

Summary: 6 patches and/or PDF generation with issues, being 0 at build time

Error/warnings:

Error #256 when running cat patches/0010-media-i2c-imx290-Add-configurable-link-frequency-and.patch | formail -c | ./scripts/checkpatch.pl --terse --mailback --no-summary --strict:

$ cat patches/0010-media-i2c-imx290-Add-configurable-link-frequency-and.patch | formail -c | ./scripts/checkpatch.pl --terse --mailback --no-summary --strict
-:53: CHECK: Please use a blank line after function/struct/union/enum declarations

Error #256 when running cat patches/0011-media-i2c-imx290-Add-support-for-test-pattern-genera.patch | formail -c | ./scripts/checkpatch.pl --terse --mailback --no-summary --strict:

$ cat patches/0011-media-i2c-imx290-Add-support-for-test-pattern-genera.patch | formail -c | ./scripts/checkpatch.pl --terse --mailback --no-summary --strict
-:73: WARNING: msleep < 20ms can sleep for up to 20ms; see Documentation/timers/timers-howto.rst
-:80: WARNING: msleep < 20ms can sleep for up to 20ms; see Documentation/timers/timers-howto.rst

Error #256 when running cat patches/0012-media-i2c-imx290-Add-RAW12-mode-support.patch | formail -c | ./scripts/checkpatch.pl --terse --mailback --no-summary --strict:

$ cat patches/0012-media-i2c-imx290-Add-RAW12-mode-support.patch | formail -c | ./scripts/checkpatch.pl --terse --mailback --no-summary --strict
-:99: CHECK: Lines should not end with a '('

Error #256 when running cat patches/0013-media-i2c-imx290-Add-support-to-enumerate-all-frame-.patch | formail -c | ./scripts/checkpatch.pl --terse --mailback --no-summary --strict:

$ cat patches/0013-media-i2c-imx290-Add-support-to-enumerate-all-frame-.patch | formail -c | ./scripts/checkpatch.pl --terse --mailback --no-summary --strict
-:31: CHECK: Unnecessary parentheses around 'fse->code != imx290_formats[0].code'
-:31: CHECK: Unnecessary parentheses around 'fse->code != imx290_formats[1].code'

Error #256 when running cat patches/0014-media-i2c-imx290-Move-the-settle-time-delay-out-of-l.patch | formail -c | ./scripts/checkpatch.pl --terse --mailback --no-summary --strict:

$ cat patches/0014-media-i2c-imx290-Move-the-settle-time-delay-out-of-l.patch | formail -c | ./scripts/checkpatch.pl --terse --mailback --no-summary --strict
-:31: WARNING: msleep < 20ms can sleep for up to 20ms; see Documentation/timers/timers-howto.rst