diff options
author | Dmitry Osipenko <[email protected]> | 2020-09-30 01:18:46 +0300 |
---|---|---|
committer | Wolfram Sang <[email protected]> | 2020-10-05 22:57:39 +0200 |
commit | c5418d4cc9f028f3f0fc61c62c781e020113108f (patch) | |
tree | 106a0f4e8e8236384ccda067b3ad6ebf167a1001 /scripts/gcc-plugins/cyc_complexity_plugin.c | |
parent | e4fc2efbc310cfb665eed558da42ac18084d20bc (diff) |
i2c: tegra: Handle potential error of tegra_i2c_flush_fifos()
Technically the tegra_i2c_flush_fifos() may fail and transfer should be
aborted in this case, but this shouldn't ever happen in practice unless
there is a bug somewhere in the driver. Let's add the error check just
for completeness.
Reviewed-by: Michał Mirosław <[email protected]>
Reviewed-by: Andy Shevchenko <[email protected]>
Reviewed-by: Thierry Reding <[email protected]>
Tested-by: Thierry Reding <[email protected]>
Signed-off-by: Dmitry Osipenko <[email protected]>
Signed-off-by: Wolfram Sang <[email protected]>
Diffstat (limited to 'scripts/gcc-plugins/cyc_complexity_plugin.c')
0 files changed, 0 insertions, 0 deletions