Files
linux/drivers
Alexey Khoroshilov 9b22e7f5b2 media: fsl-viu: fix error handling in viu_of_probe()
[ Upstream commit 662a99e145 ]

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>
2018-10-03 17:01:44 -07:00
..
2018-07-22 14:27:36 +02:00
2018-09-29 03:07:35 -07:00
2018-02-25 11:05:55 +01:00
2018-08-22 07:47:14 +02:00
2018-08-24 13:12:32 +02:00
2018-07-25 11:24:01 +02:00
2018-10-03 17:01:42 -07:00