Re: [PATCH 2/3] media: ngene: Replace semaphore stream_mutex with mutex

2017-06-08 Thread Arnd Bergmann
On Thu, Jun 8, 2017 at 12:04 PM, Binoy Jayan wrote: > The semaphore 'stream_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 > --- Looks correct, though I wonder whether it would be nicer to move the mutex

[PATCH 2/3] media: ngene: Replace semaphore stream_mutex with mutex

2017-06-08 Thread Binoy Jayan
The semaphore 'stream_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 --- drivers/media/pci/ngene/ngene-core.c | 14 +++--- drivers/media/pci/ngene/ngene.h | 2 +- 2 files changed, 8 insertions(+)