]> git.baikalelectronics.ru Git - kernel.git/commit
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)
commit0103c44b1aa7c95bde799f945db833d5cc291825
tree4b93ed6c27ad7bafd67a9bcb9cf0ffda222ba3d5
parentebeb4e23d65470b4b970bbd092f4fd3669cc5eaa
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