V4L/DVB (13079): dib0700: fixed xc2028 firmware loading kernel oops
authorMartin Samek <martin@marsark.sytes.net>
Thu, 1 Oct 2009 01:59:09 +0000 (22:59 -0300)
committerGreg Kroah-Hartman <gregkh@suse.de>
Tue, 8 Dec 2009 18:21:14 +0000 (10:21 -0800)
commitc43d7819934b796560ffc14371dcc69089d1fb81
tree6f4d456d9c64dfe060c1195526e56eedb0b63eab
parent27bff6b55ad0fe861530315bb75eb3401fa1b660
V4L/DVB (13079): dib0700: fixed xc2028 firmware loading kernel oops

commit 7646b9de26c54cf4bc9c446d7ada9f91ece31e0a upstream.

Fixing kernel oops when driver attemps to load xc2028 firmware.

Note by djh: the patch contribute by Martin is a port of a fix I made during
the PCTV 340e development.  It's a temporary workaround that fixes a regression
(an OOPS condition) and the real fix should be in the code that manages the
i2c master on the dib7000p.  But this fix does address the immmediate
regression and should be merged upstream until we do a cleaner fix.

Signed-off-by: Martin Samek <martin@marsark.sytes.net>
Signed-off-by: Devin Heitmueller <dheitmueller@kernellabs.com>
Signed-off-by: Mauro Carvalho Chehab <mchehab@redhat.com>
Signed-off-by: Michael Krufky <mkrufky@kernellabs.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
drivers/media/dvb/frontends/dib7000p.c