media: ngene: Replace semaphore i2c_switch_mutex with mutex
authorBinoy Jayan <binoy.jayan@linaro.org>
Tue, 13 Jun 2017 08:58:50 +0000 (05:58 -0300)
committerMauro Carvalho Chehab <mchehab@s-opensource.com>
Sat, 24 Jun 2017 19:42:34 +0000 (16:42 -0300)
commitbd7a85d36363268266c5039bd31495d047acfb98
tree53e91cb8eb3cedb08a3f118620d7e2751d240b24
parent90979f045513e7d3d7fb390dc26117ce95a31804
media: ngene: Replace semaphore i2c_switch_mutex with mutex

The semaphore 'i2c_switch_mutex' is used as a simple mutex, so
it should be written as one. Semaphores are going away in the future.

Signed-off-by: Binoy Jayan <binoy.jayan@linaro.org>
Signed-off-by: Mauro Carvalho Chehab <mchehab@s-opensource.com>
drivers/media/pci/ngene/ngene-core.c
drivers/media/pci/ngene/ngene-i2c.c
drivers/media/pci/ngene/ngene.h