From: Michael Krufky Date: Tue, 2 Oct 2012 14:04:36 +0000 (-0300) Subject: [media] tda18271: properly report read errors in tda18271_get_id X-Git-Tag: omap-for-v3.7-rc1/fixes-cpufreq-signed~3^2^2~3 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=351d18786e1fa45d1cd20bad03e445dbb50e0912;p=pandora-kernel.git [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 Signed-off-by: Mauro Carvalho Chehab --- Reading git-diff-tree failed