]> git.baikalelectronics.ru Git - kernel.git/commit
media: rcar-csi2: Cleanup mutex on remove and fail
authorNiklas Söderlund <niklas.soderlund+renesas@ragnatech.se>
Wed, 15 Sep 2021 01:50:12 +0000 (03:50 +0200)
committerMauro Carvalho Chehab <mchehab+huawei@kernel.org>
Tue, 5 Oct 2021 07:36:26 +0000 (09:36 +0200)
commit59e17605acaba706355cb5bdd23d5236e4a081bc
treee2855c703249fc909d73649af7c19bb93ba47e92
parent7375af3e6e0fdda69f5deef67fef631ae8df2b2a
media: rcar-csi2: Cleanup mutex on remove and fail

The mutex was not destroyed on remove or failed probe, fix this.

Signed-off-by: Niklas Söderlund <niklas.soderlund+renesas@ragnatech.se>
Reviewed-by: Jacopo Mondi <jacopo@jmondi.org>
Reviewed-by: Kieran Bingham <kieran.bingham+renesas@ideasonboard.com>
Signed-off-by: Hans Verkuil <hverkuil-cisco@xs4all.nl>
Signed-off-by: Mauro Carvalho Chehab <mchehab+huawei@kernel.org>
drivers/media/platform/rcar-vin/rcar-csi2.c