mbox series

[v2,0/2] rcar-csi2: Serialize format cfg and improve mutex handling

Message ID 20210915015013.3169934-1-niklas.soderlund+renesas@ragnatech.se (mailing list archive)
Headers show
Series rcar-csi2: Serialize format cfg and improve mutex handling | expand

Message

Niklas Söderlund Sept. 15, 2021, 1:50 a.m. UTC
Hello Hans,

This series improves the mutex handling of the R-Car CSI-2 driver. While
working with other drivers it have surfaced that drivers are responsible
to serialize format configuration.

Patch 1/2 adds a bit of housekeeping to the mutex used in the driver
while patch 2/2 adds the format serialization.

The series is based on the latest media-tree and tested on M3-N and H3
ES2.0 without any regressions found.

Niklas Söderlund (2):
  media: rcar-csi2: Cleanup mutex on remove and fail
  media: rcar-csi2: Serialize access to set_fmt and get_fmt

 drivers/media/platform/rcar-vin/rcar-csi2.c | 25 +++++++++++++++------
 1 file changed, 18 insertions(+), 7 deletions(-)