dib8000: fix regression with dib807x
authorOlivier Grenie <olivier.grenie@parrot.com>
Thu, 12 Dec 2013 12:26:22 +0000 (09:26 -0300)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Thu, 13 Feb 2014 21:55:38 +0000 (13:55 -0800)
commit1270eb61773cabb4a64cb4a16553e859453beb80
tree4b129efe409ecf75c2d2c1c29edbdeb80f5ed77a
parent05ff8dc2be36cd67e3b4aad837f27d424a299938
dib8000: fix regression with dib807x

commit d67350f8c4e67f5eba627e1fd111f16257ca9c95 upstream.

Commit 173a64cb3fcf broke support for some dib807x versions.

Fix it by providing backward compatibility with the older versions.

[mkrufky@linuxtv.org: conflict handling and CodingStyle fixes]

Signed-off-by: Olivier Grenie <olivier.grenie@parrot.com>
Acked-by: Patrick Boettcher <pboettcher@kernellabs.com>
Signed-off-by: Mauro Carvalho Chehab <m.chehab@samsung.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
drivers/media/dvb-frontends/dib8000.c