media: dvbsky: use just one mutex for serializing device R/W ops
authorMauro Carvalho Chehab <mchehab+samsung@kernel.org>
Fri, 27 Apr 2018 16:33:11 +0000 (12:33 -0400)
committerMauro Carvalho Chehab <mchehab+samsung@kernel.org>
Thu, 10 May 2018 11:05:14 +0000 (07:05 -0400)
commit7d95fb746c4eece67308f1642a666ea1ebdbd2cc
tree4b93ed6c27ad7bafd67a9bcb9cf0ffda222ba3d5
parent3b7158d61a27b7701356969c6fed353a7c67b45e
media: dvbsky: use just one mutex for serializing device R/W ops

Right now, there are two mutexes serializing r/w ops: one "generic"
and another one specifically for stream on/off.

Clean it a little bit, getting rid of one of the mutexes.

Signed-off-by: Mauro Carvalho Chehab <mchehab+samsung@kernel.org>
drivers/media/usb/dvb-usb-v2/dvbsky.c