diff options
author | Dmitry Osipenko <digetx@gmail.com> | 2020-09-30 00:18:46 +0200 |
---|---|---|
committer | Wolfram Sang <wsa@kernel.org> | 2020-10-05 22:57:39 +0200 |
commit | c5418d4cc9f028f3f0fc61c62c781e020113108f (patch) | |
tree | 106a0f4e8e8236384ccda067b3ad6ebf167a1001 /mm/readahead.c | |
parent | i2c: tegra: Add missing pm_runtime_put() (diff) | |
download | linux-c5418d4cc9f028f3f0fc61c62c781e020113108f.tar.xz linux-c5418d4cc9f028f3f0fc61c62c781e020113108f.zip |
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 <mirq-linux@rere.qmqm.pl>
Reviewed-by: Andy Shevchenko <andy.shevchenko@gmail.com>
Reviewed-by: Thierry Reding <treding@nvidia.com>
Tested-by: Thierry Reding <treding@nvidia.com>
Signed-off-by: Dmitry Osipenko <digetx@gmail.com>
Signed-off-by: Wolfram Sang <wsa@kernel.org>
Diffstat (limited to 'mm/readahead.c')
0 files changed, 0 insertions, 0 deletions