summaryrefslogtreecommitdiffstats
path: root/drivers/media/v4l2-core
diff options
context:
space:
mode:
authorMichael Krufky <mkrufky@linuxtv.org>2012-10-02 11:04:36 -0300
committerMauro Carvalho Chehab <mchehab@redhat.com>2012-10-02 15:17:46 -0300
commit351d18786e1fa45d1cd20bad03e445dbb50e0912 (patch)
tree34596aefad02702460df4271edebe73eee79bc94 /drivers/media/v4l2-core
parent6b82e0cfc15ec7e635eea83b04e1544ab64f81ad (diff)
downloadblackbird-op-linux-351d18786e1fa45d1cd20bad03e445dbb50e0912.tar.gz
blackbird-op-linux-351d18786e1fa45d1cd20bad03e445dbb50e0912.zip
[media] tda18271: properly report read errors in tda18271_get_id
Until now, if there is a read error in tda18271_get_id, the driver reports "Unknown device..." Instead, check the return value of tda18271_read_regs and display the appropriate error message. Signed-off-by: Michael Krufky <mkrufky@linuxtv.org> Signed-off-by: Mauro Carvalho Chehab <mchehab@redhat.com>
Diffstat (limited to 'drivers/media/v4l2-core')
0 files changed, 0 insertions, 0 deletions
OpenPOWER on IntegriCloud