diff options
| author | Hans de Goede <hdegoede@redhat.com> | 2023-05-11 15:51:21 +0100 |
|---|---|---|
| committer | Mauro Carvalho Chehab <mchehab@kernel.org> | 2023-06-09 14:35:03 +0100 |
| commit | 820a1338d6a14bde0de7ed57cf486c31798a9619 (patch) | |
| tree | ed90677e21a7ee2d95c38e4692cf1d10efbf9a36 /tools/perf/scripts/python/bin | |
| parent | media: atomisp: Remove unused mipi_frame_size field from atomisp_[sub_]device (diff) | |
| download | linux-820a1338d6a14bde0de7ed57cf486c31798a9619.tar.gz linux-820a1338d6a14bde0de7ed57cf486c31798a9619.zip | |
media: atomisp: Remove isp_timeout flag
isp_timeout only ever gets set in __atomisp_css_recover() and then
immediately gets cleared again after calling atomisp_reset().
All this happens with isp->mutex held.
The only consumer of isp->isp_timeout is atomisp_stop_streaming(), which
also holds isp->mutex and which is *not* called by atomisp_reset().
Since both hold isp->mutex and since __atomisp_css_recover() clears
isp_timeout before releasing the mutex, atomisp_stop_streaming() can
never see isp_timeout being true, so just remove the flag.
Reviewed-by: Andy Shevchenko <andy.shevchenko@gmail.com>
Signed-off-by: Hans de Goede <hdegoede@redhat.com>
Signed-off-by: Mauro Carvalho Chehab <mchehab@kernel.org>
Diffstat (limited to 'tools/perf/scripts/python/bin')
0 files changed, 0 insertions, 0 deletions
