diff options
author | Paul Elder <paul.elder@ideasonboard.com> | 2021-08-27 15:25:21 +0900 |
---|---|---|
committer | Paul Elder <paul.elder@ideasonboard.com> | 2021-09-10 10:32:57 +0900 |
commit | df58fc1f4b55a68d3112c12c5eb49a00459eaf7f (patch) | |
tree | af433cf31b84694c7e41f4d6643da2feccea60db /include/linux/rkisp1-config.h | |
parent | 4e3d152d1e68d68b5254668ac8113d7e72adc590 (diff) |
test: v4l2_compat_test: Fix v4l2-compliance version parsing
v4l2-compliance changed their version string:
v4l2-compliance 1.21.0-4618
v4l2-compliance SHA: cc211b76476aca2c072ffa83a9b003957d5f3909, 64 bits, 64-bit time_t
v4l2-compliance 1.21.0-4838, 64 bits, 64-bit time_t
The current parsing takes the last result of split, which works for the
former, but not the latter. Take the second result of split instead, and
strip away any commas.
Signed-off-by: Paul Elder <paul.elder@ideasonboard.com>
Reviewed-by: Kieran Bingham <kieran.bingham@ideasonboard.com>
Reviewed-by: Laurent Pinchart <laurent.pinchart@ideasonboard.com>
Tested-by: Laurent Pinchart <laurent.pinchart@ideasonboard.com>
Diffstat (limited to 'include/linux/rkisp1-config.h')
0 files changed, 0 insertions, 0 deletions