summaryrefslogtreecommitdiff
path: root/tools/perf/scripts/python/call-graph-from-sql.py
diff options
context:
space:
mode:
authorGuenter Roeck <linux@roeck-us.net>2016-07-27 01:34:01 +0300
committerWolfram Sang <wsa@the-dreams.de>2017-01-29 00:16:38 +0300
commit22ae11245e17a74c1b0864b55b63c0ed21f10ceb (patch)
treebf06d843527dfb9d6c7db94fc57a552b4de78935 /tools/perf/scripts/python/call-graph-from-sql.py
parentcefae80249f6bf3fdbc7c3a00bc43deb4c1bccf0 (diff)
downloadlinux-22ae11245e17a74c1b0864b55b63c0ed21f10ceb.tar.xz
i2c: i2c-cros-ec-tunnel: Reduce logging noise
If an i2c access through i2c-cros-ec-tunnel returns an error, the following log message is seen on the console. cros-ec-i2c-tunnel ff200000.spi:ec@0:i2c-tunnel: Error parsing EC i2c message -121 This can happen a lot if, for example, the i2c-detect command is executed. Since it is perfectly normal for an i2c controller to report an error, drop the message. Also, report -ENXIO instead of -EREMOTEIO if the access error is due to NAK from the device, and return -EIO instead of -EREMOTEIO for other errors, as suggested in Documentation/i2c/fault-codes. Signed-off-by: Guenter Roeck <linux@roeck-us.net> Reviewed-by: Douglas Anderson <dianders@chromium.org> Signed-off-by: Wolfram Sang <wsa@the-dreams.de>
Diffstat (limited to 'tools/perf/scripts/python/call-graph-from-sql.py')
0 files changed, 0 insertions, 0 deletions