[media] mn88473: fix chip id check on probe
authorAntti Palosaari <crope@iki.fi>
Wed, 30 Nov 2016 21:36:14 +0000 (19:36 -0200)
committerMauro Carvalho Chehab <mchehab@s-opensource.com>
Thu, 1 Dec 2016 14:47:02 +0000 (12:47 -0200)
commitd930b5b5bf122a61952cfebabb1e618682a2631a
tree1e1d397d21db9598df5aead4593b8be48920561a
parentb40769ee2ed09ed6c6da33b0cbdf423ff94f685b
[media] mn88473: fix chip id check on probe

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")

Cc: <stable@vger.kernel.org> # v4.8+
Signed-off-by: Antti Palosaari <crope@iki.fi>
Signed-off-by: Mauro Carvalho Chehab <mchehab@s-opensource.com>
drivers/media/dvb-frontends/mn88473.c