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@brturbo.com.br>
Mon, 23 Jan 2006 11:48:34 +0000 (09:48 -0200)
commite36eaa71c99eb1edb52eb21ab4e8c9e09b943f21
treeb1ad85f4c22967848de8c546abd26cd1fb4420f6
parent337208d007d94749cc965742eede1611a94c06ce
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