diff options
| author | Alexey Khoroshilov <khoroshilov@ispras.ru> | 2018-06-29 17:49:22 -0400 |
|---|---|---|
| committer | Greg Kroah-Hartman <gregkh@linuxfoundation.org> | 2018-10-10 08:52:04 +0200 |
| commit | 6a18e32b35679b183742e2f7d119e80a2394739f (patch) | |
| tree | 382ae1d1287ac373f3a9c5ee1547e13db68710f2 /tools/perf/scripts/python | |
| parent | 3e7de9ebadc344d66b046add2ce981b9cb75e770 (diff) | |
media: fsl-viu: fix error handling in viu_of_probe()
[ Upstream commit 662a99e145661c2b35155cf375044deae9b79896 ]
viu_of_probe() ignores fails in i2c_get_adapter(),
tries to unlock uninitialized mutex on error path.
The patch streamlining the error handling in viu_of_probe().
Found by Linux Driver Verification project (linuxtesting.org).
Signed-off-by: Alexey Khoroshilov <khoroshilov@ispras.ru>
Signed-off-by: Hans Verkuil <hans.verkuil@cisco.com>
Signed-off-by: Mauro Carvalho Chehab <mchehab+samsung@kernel.org>
Signed-off-by: Sasha Levin <alexander.levin@microsoft.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Diffstat (limited to 'tools/perf/scripts/python')
0 files changed, 0 insertions, 0 deletions
