summaryrefslogtreecommitdiff
path: root/power
diff options
context:
space:
mode:
authorDenis Brockus <dbrockus@chromium.org>2019-11-27 10:51:44 -0700
committerCommit Bot <commit-bot@chromium.org>2019-12-02 13:35:27 +0000
commita5a98e063de8a71ef6416986a5962e3f7a36e4ca (patch)
tree6c6de1c250f97f4c8ec2d39855b54de626924fa8 /power
parent4cead5fee84bd61494c24faabeca9106a1b274a6 (diff)
downloadchrome-ec-a5a98e063de8a71ef6416986a5962e3f7a36e4ca.tar.gz
i2c: don't output trace line for 0 length data
Write I2C operations always displayed a line indicating a read of port:addr with nothing following. Just don't output any lines that have no data to display. BUG=none BRANCH=none TEST=i2ctrace should not display lines with no data Change-Id: I1ba4bf3e627c47e62c68a592473431fcc195420a Signed-off-by: Denis Brockus <dbrockus@chromium.org> Reviewed-on: https://chromium-review.googlesource.com/c/chromiumos/platform/ec/+/1940776 Reviewed-by: Jack Rosenthal <jrosenth@chromium.org> Reviewed-by: Jett Rink <jettrink@chromium.org> Reviewed-by: Daisuke Nojiri <dnojiri@chromium.org>
Diffstat (limited to 'power')
0 files changed, 0 insertions, 0 deletions