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>
Este cometimento está contido em:

cometido por
Mauro Carvalho Chehab

ascendente
90979f0455
cometimento
bd7a85d363
@@ -765,7 +765,7 @@ struct ngene {
|
||||
struct mutex cmd_mutex;
|
||||
struct mutex stream_mutex;
|
||||
struct semaphore pll_mutex;
|
||||
struct semaphore i2c_switch_mutex;
|
||||
struct mutex i2c_switch_mutex;
|
||||
int i2c_current_channel;
|
||||
int i2c_current_bus;
|
||||
spinlock_t cmd_lock;
|
||||
|
Criar uma nova questão referindo esta
Bloquear um utilizador