mbox series

[0/5] media: vimc: various fixes

Message ID 20200328075254.4616-1-dafna.hirschfeld@collabora.com (mailing list archive)
Headers show
Series media: vimc: various fixes | expand

Message

Dafna Hirschfeld March 28, 2020, 7:52 a.m. UTC
Various fixes and improvements for vimc driver.

Patches summary:

patch 1: remove the function vimc_unregister
patch 2: if vimc_add_subdevs fails then the cleanup should be inside the function
patch 3: return the error code if a callback fails instead of NULL
patch 4: fix some typos in the docs
patch 5: adds a struct vimc_cap_type that holds the callbacks of each vimc entity type,
since for each type the set of callbacks is always the same.

Dafna Hirschfeld (5):
  media: vimc: remove the function vimc_unregister
  media: vimc: handle error in vimc_add_subdevs
  media: vimc: keep the error value when adding an entity fails
  media: vimc: fix issues in documentation in vimc-common.h
  media: vimc: add vimc_ent_type struct for the callbacks of entities

 drivers/media/platform/vimc/vimc-capture.c | 10 ++-
 drivers/media/platform/vimc/vimc-common.h  | 53 ++++++-------
 drivers/media/platform/vimc/vimc-core.c    | 90 ++++++++++------------
 drivers/media/platform/vimc/vimc-debayer.c |  9 ++-
 drivers/media/platform/vimc/vimc-scaler.c  |  9 ++-
 drivers/media/platform/vimc/vimc-sensor.c  |  9 ++-
 6 files changed, 93 insertions(+), 87 deletions(-)