media: si2157: Check error status bit on cmd execute
authorBrad Love <brad@nextdimension.cc>
Thu, 14 Nov 2019 20:03:56 +0000 (21:03 +0100)
committerMauro Carvalho Chehab <mchehab+huawei@kernel.org>
Tue, 21 Apr 2020 14:44:58 +0000 (16:44 +0200)
commit5741f4affb694653c2cec3d75aa4dd56cae2175b
tree9e5a60c510b43e77c917087236a70ec1478ed211
parent5714e84fee5068c1829e2f6ab94fc40b0bb34eb5
media: si2157: Check error status bit on cmd execute

Check error status bit on command execute, if error bit is
set return -EAGAIN. Ignore -EAGAIN in probe during device check.

Signed-off-by: Brad Love <brad@nextdimension.cc>
Signed-off-by: Sean Young <sean@mess.org>
Signed-off-by: Mauro Carvalho Chehab <mchehab+huawei@kernel.org>
drivers/media/tuners/si2157.c