]> git.baikalelectronics.ru Git - kernel.git/commit
[media] mn88472: fix chip id check on probe
authorAntti Palosaari <crope@iki.fi>
Thu, 1 Dec 2016 00:08:27 +0000 (22:08 -0200)
committerMauro Carvalho Chehab <mchehab@s-opensource.com>
Thu, 1 Dec 2016 14:47:22 +0000 (12:47 -0200)
commit69266f1f0d6e04b58348863da9d7770a5ab80532
treea9cc35f540430c453d67538b3410cded15fedb4b
parentc383964b1b0fbf70a6db8517e0163fc6fed70169
[media] mn88472: 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: 15946b5821cd ("[media] mn88472: move out of staging to media")
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/mn88472.c