V4L/DVB (13262): tda18271: fix regression preventing std map override from taking...
authorMichael Krufky <mkrufky@kernellabs.com>
Sun, 1 Nov 2009 05:52:01 +0000 (02:52 -0300)
committerMauro Carvalho Chehab <mchehab@redhat.com>
Sat, 5 Dec 2009 20:41:09 +0000 (18:41 -0200)
commit972aacc2989506d9c67f8b710021ff98041363d5
treeab00854da847884a1fd0f512b08f6f923267b1e5
parent0700adec9efec3136fa44d90f064c9227817f37b
V4L/DVB (13262): tda18271: fix regression preventing std map override from taking effect

In the changeset entitled, "tda18271: add support for the set_config method",
the initialization order was changed such that the standard map overrides
were being applied before loading the default standard map, based on the
stepping of the silicon.  This changeset restores the proper order by
processing the standard map overrides both within the tda18271_set_config()
and the tda18271_attach() functions, after we read the id register of the
tuner.

Thanks to Michael Obst for his testing, helping me to identify the regression.

Signed-off-by: Michael Krufky <mkrufky@kernellabs.com>
Signed-off-by: Michael Obst <mike.obst@gmail.com>
Signed-off-by: Mauro Carvalho Chehab <mchehab@redhat.com>
drivers/media/common/tuners/tda18271-fe.c