commit | 351d18786e1fa45d1cd20bad03e445dbb50e0912 | [log] [tgz] |
---|---|---|
author | Michael Krufky <mkrufky@linuxtv.org> | Tue Oct 02 11:04:36 2012 -0300 |
committer | Mauro Carvalho Chehab <mchehab@redhat.com> | Tue Oct 02 15:17:46 2012 -0300 |
tree | 34596aefad02702460df4271edebe73eee79bc94 | |
parent | 6b82e0cfc15ec7e635eea83b04e1544ab64f81ad [diff] |
[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>