smiapp: Take mutex during PLL update in sensor initialisation
authorSakari Ailus <sakari.ailus@linux.intel.com>
Tue, 16 Sep 2014 18:57:07 +0000 (15:57 -0300)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Tue, 27 Jan 2015 15:52:32 +0000 (07:52 -0800)
commit237a64401932d2790eb2d688322de04b1587e95e
tree81d129f7761d39868f676f61497d8b61f8870ca9
parent76a30550a36d565c6548a352a5a2e6501f4534f4
smiapp: Take mutex during PLL update in sensor initialisation

commit f85698cd296f08218a7750f321e94607da128600 upstream.

The mutex does not serialise anything in this case but avoids a lockdep
warning from the control framework.

Signed-off-by: Sakari Ailus <sakari.ailus@linux.intel.com>
Acked-by: Laurent Pinchart <laurent.pinchart@ideasonboard.com>
Signed-off-by: Mauro Carvalho Chehab <mchehab@osg.samsung.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
drivers/media/i2c/smiapp/smiapp-core.c