lib: make igt_pipe_crc_start never fail

It's what callers expect - pipe_crc_new is the function where
we pass a potential failure back to callers.

Reviewed-by: Damien Lespiau <damien.lespiau@intel.com>
Signed-off-by: Daniel Vetter <daniel.vetter@ffwll.ch>
This commit is contained in:
Daniel Vetter
2013-12-06 10:48:25 +01:00
parent c1b7e722da
commit a4d3a6c013
3 changed files with 4 additions and 7 deletions
+1 -1
View File
@@ -180,7 +180,7 @@ static void test_read_crc(data_t *data, int pipe, unsigned flags)
continue;
valid_connectors++;
igt_assert(igt_pipe_crc_start(pipe_crc));
igt_pipe_crc_start(pipe_crc);
/* wait for 3 vblanks and the corresponding 3 CRCs */
igt_pipe_crc_get_crcs(pipe_crc, 3, &crcs);