From: Ian Armstrong Date: Sat, 12 Jun 2010 16:33:21 +0000 (-0300) Subject: V4L/DVB: ivtv: Add firmare monitoring and debug mode to ignore firmware problems X-Git-Tag: v2.6.36-rc1~582^2~190 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=914610e8c508224a6fb9fb501ed4bda25b340ba6;p=pandora-kernel.git V4L/DVB: ivtv: Add firmare monitoring and debug mode to ignore firmware problems >From Ian's e-mail: When a device is opened the firmware state will be checked. If it isn't responding then the open will fail with -EIO. Due to the nature of the hardware, a single failed check will block everything since we don't know exactly what has failed. A side effect of this is the blocking of debug access, so an additional debug level has been created which allows the block to be bypassed. Andy Walls' modifications: I modified Ian's patch to add a separate fw_debug module parameter to change the driver's behavior, as opposed to using the normal debug module parameter. The fw_debug module parameter is only available when CONFIG_VIDEO_ADV_DEBUG is set. I also made some minor whitespace adjustments and changed some warning messages to be a bit more specific. s/happy/glad/g Signed-off-by: Ian Armstrong Signed-off-by: Andy Walls Signed-off-by: Mauro Carvalho Chehab --- Reading git-diff-tree failed