[media] lmedm04: don't write to buffer without a mutex
authorMalcolm Priestley <tvboxspy@gmail.com>
Fri, 22 Apr 2011 09:07:40 +0000 (06:07 -0300)
committerMauro Carvalho Chehab <mchehab@redhat.com>
Fri, 20 May 2011 12:29:26 +0000 (09:29 -0300)
commita760d63878b21fc16997b79e8ebee531b40c8b26
tree2ccce950af112d9ed472202463e01575a950feb2
parent853e3b2930001534b88fb36e936c9a734a79046c
[media] lmedm04: don't write to buffer without a mutex

usb_buffer not inside mutex lock, waiting caller can alter buffer.
 Static added to lme2510_exit and lme2510_exit_int.

Signed-off-by: Malcolm Priestley <tvboxspy@gmail.com>
Signed-off-by: Mauro Carvalho Chehab <mchehab@redhat.com>
drivers/media/dvb/dvb-usb/lmedm04.c