From: Andreas Oberritter Date: Thu, 4 Aug 2011 15:33:15 +0000 (-0300) Subject: [media] DVB: dvb_frontend: update locking in dvb_frontend_{add, get_event} X-Git-Tag: v3.2-rc1~112^2~279 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=77b1e2fbbdfa0ee5cdf6c928b711493a3738468e;p=pandora-kernel.git [media] DVB: dvb_frontend: update locking in dvb_frontend_{add, get_event} - fepriv->parameters_out isn't protected by events->mtx, so move the call to fe->ops.get_frontend out of the locked area. - move the assignment of e->status into the locked area. - use direct assignment instead of memcpy. - use mutex_lock instead of mutex_lock_interruptible, because all code paths protected by this mutex won't block. Signed-off-by: Andreas Oberritter Signed-off-by: Mauro Carvalho Chehab --- Reading git-diff-tree failed