[media] v4l: omap4iss: Move code out of mutex-protected section
authorLaurent Pinchart <laurent.pinchart@ideasonboard.com>
Mon, 4 Nov 2013 09:52:10 +0000 (06:52 -0300)
committerMauro Carvalho Chehab <mchehab@redhat.com>
Tue, 3 Dec 2013 19:55:32 +0000 (17:55 -0200)
commitc3dbc70d825968da10cf6fdde40447aeec632a2d
tree439c6b4cb7d731b20e16f45f6e04f6315269911d
parent4a62361f825325bd6dd228d3c05e254d40f74e47
[media] v4l: omap4iss: Move code out of mutex-protected section

The pad::get_fmt call must be protected by a mutex, but preparing its
arguments doesn't need to be. Move the non-critical code out of the
mutex-protected section.

Signed-off-by: Laurent Pinchart <laurent.pinchart@ideasonboard.com>
Acked-by: Hans Verkuil <hans.verkuil@cisco.com>
Signed-off-by: Mauro Carvalho Chehab <mchehab@redhat.com>
drivers/staging/media/omap4iss/iss_video.c