V4L/DVB (3405): Fixes tvp5150a/am1 detection.
authorMauro Carvalho Chehab <mchehab@infradead.org>
Mon, 23 Jan 2006 11:48:34 +0000 (09:48 -0200)
committerMauro Carvalho Chehab <mchehab@infradead.org>
Mon, 23 Jan 2006 19:06:25 +0000 (17:06 -0200)
commitbd7db9790038c25e1726c93e2e88667f1d58c108
tree4d6493b46f9f7855d7feccdb639806660d02bf27
parente94785c9a1da97495129dfa18f5db27870adc115
V4L/DVB (3405): Fixes tvp5150a/am1 detection.

- Tvp5150 type were determined by a secondary register instead of
  using ROM code.
- tvp5150am1 have ROM=4.0, while tvp5150a have ROM=3.33 (decimal).
  All other ROM versions are reported as unknown tvp5150.
- Except for reporting, current code doesn't enable any special feature
  for tvp5150am1 or tvp5150a. Code should work for both models (but were
  tested only for tvp5150am1).

Signed-off-by: Mauro Carvalho Chehab <mchehab@infradead.org>
drivers/media/video/tvp5150.c