mn88473: fix chip id check on probe
authorAntti Palosaari <crope@iki.fi>
Wed, 30 Nov 2016 21:36:14 +0000 (19:36 -0200)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Mon, 9 Jan 2017 07:21:59 +0000 (08:21 +0100)
commitc3fe33d185e0d3f10a4b4a494c291dd7553d0167
treea5ab0bc6905103ad84e437ba1b139a9556325f78
parent84b2f664409c26196f6f1e2f2eb7a5bc0ba7fbe4
mn88473: fix chip id check on probe

commit d930b5b5bf122a61952cfebabb1e618682a2631a upstream.

A register used to identify chip during probe was overwritten during
firmware download and due to that later probe's for warm chip were
failing. Detect chip from the another register, which is located on
different register bank 2.

Fixes: 7908fad99a6c ("[media] mn88473: finalize driver")
Signed-off-by: Antti Palosaari <crope@iki.fi>
Signed-off-by: Mauro Carvalho Chehab <mchehab@s-opensource.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
drivers/media/dvb-frontends/mn88473.c