From: Mike Isely Date: Fri, 28 Mar 2008 08:38:54 +0000 (-0300) Subject: V4L/DVB (7701): pvrusb2: Centralize handling of simple FX2 commands X-Git-Tag: v2.6.26-rc1~1084^2~28 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=1c9d10d4d2e791a9eacd9f919dec78c5bc6737e8;p=pandora-kernel.git V4L/DVB (7701): pvrusb2: Centralize handling of simple FX2 commands Numerous places in the driver need to issue simple commands to the FX2 microcontroller (e.g. only 1 or 2 bytes, no reply needed). Previously each place that did this, had to take lock, set up a central buffer, and call the function to perform the handshake. This change puts these steps into a single spot. This also has the effect of removing the need to mess with the control lock from numerous places in the code. Signed-off-by: Mike Isely Signed-off-by: Mauro Carvalho Chehab --- Reading git-diff-tree failed