diff options
| author | Daeseok Youn <[email protected]> | 2017-03-20 14:42:55 +0000 |
|---|---|---|
| committer | Greg Kroah-Hartman <[email protected]> | 2017-03-21 08:04:33 +0100 |
| commit | c62990801d3beb7e6182c742832128ef3e2b1100 (patch) | |
| tree | a3e84852c9d88924ea017c544a7f3aa64aa0123d /tools/perf/scripts/python/bin | |
| parent | 3797616eaa3000f5526aab8ef02000a92fbc5415 (diff) | |
staging: atomisp: simplify if statement in atomisp_get_sensor_fps()
If v4l2_subdev_call() gets the global frame interval values,
it returned 0 and it could be checked whether numerator is zero or not.
If the numerator is not zero, the fps could be calculated in this function.
If not, it just returns 0.
Signed-off-by: Daeseok Youn <[email protected]>
Signed-off-by: Alan Cox <[email protected]>
Signed-off-by: Greg Kroah-Hartman <[email protected]>
Diffstat (limited to 'tools/perf/scripts/python/bin')
0 files changed, 0 insertions, 0 deletions