diff options
| author | Hans de Goede <[email protected]> | 2023-05-11 15:51:21 +0100 |
|---|---|---|
| committer | Mauro Carvalho Chehab <[email protected]> | 2023-06-09 14:35:03 +0100 |
| commit | 820a1338d6a14bde0de7ed57cf486c31798a9619 (patch) | |
| tree | ed90677e21a7ee2d95c38e4692cf1d10efbf9a36 /tools/perf/scripts/python | |
| parent | fb86cf8bd8a94981be5c0f4263f31e43e1aaf445 (diff) | |
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 <[email protected]>
Signed-off-by: Hans de Goede <[email protected]>
Signed-off-by: Mauro Carvalho Chehab <[email protected]>
Diffstat (limited to 'tools/perf/scripts/python')
0 files changed, 0 insertions, 0 deletions