Skip to contentSkip to conversation

SMIA patches for 5.5

GIT PULL Sakari Ailus 2 participants 2 messages Oct 21, 2019 Media (V4L/DVB)

lore
Share & tools
lore
#0 lore raw

Hi Mauro,

Here's a set of cleanups, fixes and other improvements for the smiapp driver.

Please pull.

The following changes since commit 4b1d7c2760d26363c497b959a81f8d055ba767c1:

media: staging: media: Make use of devm_platform_ioremap_resource (2019-10-16 16:35:15 -0300)

are available in the Git repository at:

git://linuxtv.org/sailus/media_tree.git tags/smia-5.5-signed

for you to fetch changes up to b87bb57778caa276f332e1fa4fc1e03345143e88:

smiapp: Rename update_mode as pll_blanking_update (2019-10-21 10:17:38 +0300)

----------------------------------------------------------------
SMIA patches for 5.5

----------------------------------------------------------------
Sakari Ailus (14):
smiapp: Use the BIT macro where appropriate, remove useless definition
smiapp: Fix error handling at NVM reading
smiapp: Refactor reading NVM page
smiapp: Add definitions for data transfer if capability bits
smiapp: Don't poll for NVM ready on devices that don't need it
smiapp: Support probing NVM size
dt-bindings: smia: Remove documentation of nokia,nvm-size
smiapp: Destroy sensor's mutex
smiapp: Don't get binning limits dynamically
smiapp: Move binning configuration to streaming start
smiapp: Don't update sensor configuration during power-on init
smiapp: Use non-binned and binned limits correctly
smiapp: Register sensor after enabling runtime PM on the device
smiapp: Rename update_mode as pll_blanking_update

 .../devicetree/bindings/media/i2c/nokia,smia.txt   |   2 -
 drivers/media/i2c/smiapp/smiapp-core.c             | 326 +++++++++------------
 drivers/media/i2c/smiapp/smiapp-reg.h              |  36 ++-
 drivers/media/i2c/smiapp/smiapp.h                  |   3 -
 include/media/i2c/smiapp.h                         |   1 -
 5 files changed, 165 insertions(+), 203 deletions(-)
Signature · 1 line
Sakari Ailus
#1 lore raw

From: [email protected]

Pull request: https://patchwork.linuxtv.org/patch/59575/
Build log: https://builder.linuxtv.org/job/patchwork/21363/
Build time: 00:05:26

gpg: Signature made Mon 21 Oct 2019 07:18:55 AM UTC
gpg:                using DSA key F0D0377A0D4F25A79238EFE56D40361B6E28C193
gpg:                issuer "[email protected]"
gpg: Good signature from "Sakari Ailus <[email protected]>" [full]

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

Error/warnings:

Error #256 when running ./scripts/checkpatch.pl --terse --mailback --no-summary --strict patches/0003-smiapp-Refactor-reading-NVM-page.patch:

$ ./scripts/checkpatch.pl --terse --mailback --no-summary --strict patches/0003-smiapp-Refactor-reading-NVM-page.patch
patches/0003-smiapp-Refactor-reading-NVM-page.patch:47: CHECK: Lines should not end with a '('

Error #256 when running ./scripts/checkpatch.pl --terse --mailback --no-summary --strict patches/0005-smiapp-Don-t-poll-for-NVM-ready-on-devices-that-don-.patch:

$ ./scripts/checkpatch.pl --terse --mailback --no-summary --strict patches/0005-smiapp-Don-t-poll-for-NVM-ready-on-devices-that-don-.patch
patches/0005-smiapp-Don-t-poll-for-NVM-ready-on-devices-that-don-.patch:32: CHECK: Lines should not end with a '('
patches/0005-smiapp-Don-t-poll-for-NVM-ready-on-devices-that-don-.patch:47: CHECK: Blank lines aren't necessary before a close brace '}'

Error #256 when running ./scripts/checkpatch.pl --terse --mailback --no-summary --strict patches/0010-smiapp-Move-binning-configuration-to-streaming-start.patch:

$ ./scripts/checkpatch.pl --terse --mailback --no-summary --strict patches/0010-smiapp-Move-binning-configuration-to-streaming-start.patch
patches/0010-smiapp-Move-binning-configuration-to-streaming-start.patch:69: CHECK: Lines should not end with a '('

Error #256 when running ./scripts/checkpatch.pl --terse --mailback --no-summary --strict patches/0012-smiapp-Use-non-binned-and-binned-limits-correctly.patch:

$ ./scripts/checkpatch.pl --terse --mailback --no-summary --strict patches/0012-smiapp-Use-non-binned-and-binned-limits-correctly.patch
patches/0012-smiapp-Use-non-binned-and-binned-limits-correctly.patch:22: CHECK: Prefer kernel type 'u16' over 'uint16_t'
patches/0012-smiapp-Use-non-binned-and-binned-limits-correctly.patch:26: WARNING: line over 80 characters
patches/0012-smiapp-Use-non-binned-and-binned-limits-correctly.patch:27: WARNING: line over 80 characters
patches/0012-smiapp-Use-non-binned-and-binned-limits-correctly.patch:30: WARNING: line over 80 characters