From: Antti Palosaari Date: Sun, 17 Jun 2012 03:27:00 +0000 (-0300) Subject: [media] dvb_usb_v2: use lock to sync feed and frontend control X-Git-Tag: omap-for-v3.7-rc1/fixes-cpufreq-signed~3^2^2~618 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=191f79a4d78292a82f9be9cc6c9c974365792f8f;p=pandora-kernel.git [media] dvb_usb_v2: use lock to sync feed and frontend control There was synchronization problem when streaming was stopped. Frontend was ran down before stream which causes problems. Use mutex to synchronization. Now it looks like that: LOCK start frontend UNLOCK LOCK start streaming [...] stop streaming UNLOCK LOCK stop frontend UNLOCK Signed-off-by: Antti Palosaari Signed-off-by: Mauro Carvalho Chehab --- Reading git-diff-tree failed